How can I suppress pep8 warnings, in Visual studio code? What I want to do is to suppress E501 warning I don\'t want to get warnings where my code length is more than 80 chars.
Either use setup.cfg for single project or change your user settings for all py files.
{
"python.linting.pycodestyleEnabled": true,
"python.linting.pycodestyleArgs": [
"--ignore=E501"
]
}
Before October 2019 all pycodestyle
settings were named pep8
:
{
"python.linting.pep8Enabled": true,
"python.linting.pep8Args": [
"--ignore=E501"
]
}