1

I have .pylintrc in my folder with this content:

disable=print-statement,
        parameter-unpacking,
        unpacking-in-except,
        old-raise-syntax,
        backtick,
        long-suffix,
        old-ne-operator,
        old-octal-literal,
        import-star-module-level,
        non-ascii-bytes-literal,
        raw-checker-failed,
        bad-inline-option,
        bad-whitespace

However, when typing in VSCode I always see "bad-whitespace" warnings

enter image description here

gdm
  • 7,647
  • 3
  • 41
  • 71
  • Disabling pylint in vscode needs to be done in the .vscode/settings.json file - for example `"pylint.args": ["--disable", "redefined-outer-name"]` – bownie Feb 15 '23 at 09:46

1 Answers1

1

You can disable by adding it to message control in config file C0326 is for bad-whitespace

[MESSAGES CONTROL]
disable=C0326

more info here PyLint bad-whitespace Configuration

Vignesh
  • 1,553
  • 1
  • 10
  • 25