PyCQA / pycodestyle

Simple Python style checker in one Python file
https://pycodestyle.pycqa.org
Other
5.01k stars 755 forks source link

Not all errors get ignored when comment on same line #1244

Closed 1lutz closed 2 months ago

1lutz commented 2 months ago

When the setup.cfg contains a line like

ignore = E501,W503 # line length is check with pylint

only the first error is ignored.

Both errors get ignored when the comment is removed.

asottile commented 2 months ago

search the issue tracker about comments. your configuration is not valid as written