Search code examples
pythonpylint

VSCode pylint not highlighting unused arguments


I have the following method

def foo(bar):
    print("hello world")

Edit: Running pylint in VSCode

[expected behavior] pylint highlights 'bar' as an unused variable

[Actual Behaviour] From VScode output

##########Linting Output - pylint##########

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

I have no additional pylint config setup


Solution

  • It turns out there is a setting in VSCode that enforces minimal checkers Python › Linting: Pylint Use Minimal Checkers