No error when checking for INP001, but --add-noqa
adds directive
#2830
Labels
bug
Something isn't working
--add-noqa
adds directive
#2830
Python package:
Contents of
__init__.py
:Executing
ruff check -n --isolated --select INP001 foo/
does not show any error messages. Butruff check -n --isolated --select INP001 --add-noqa foo/
adds a noqa directive.Contents of
__init__.py
after--add-noqa
:I don't think there's anything wrong with the code, so
--add-noqa
should not add any directives (in my opinion).🏈
The text was updated successfully, but these errors were encountered: