Hello. I'm using flake8, flake8-noqa & flake8-eradicate. Until flake8-noqa==1.2.5 it worked fine, but now I encounter weird behaviour.
Python version
$ python --version
Python 3.9.10
Dependencies:
flake8==5.0.4
flake8-eradicate==1.4.0
flake8-noqa==1.2.9
Current behaviour
code.py
flake8 run
$ flake8 code.py
code.py:1:1: E800 Found commented out code
code.py
# a = 5 # noqa: E800
a = 7
flake8 run
$ flake8 code.py
code.py:1:1: NQA102 "# noqa: E800" has no matching violations
Expected behaviour
code.py
flake8 run
$ flake8 code.py
code.py:1:1: E800 Found commented out code
code.py
# a = 5 # noqa: E800
a = 7
flake8 run -- no error
I created the same issue in flake8-noqa repository but its author pointed out that the issue could be in your package.
Can you please take a look?
Hello. I'm using flake8, flake8-noqa & flake8-eradicate. Until flake8-noqa==1.2.5 it worked fine, but now I encounter weird behaviour.
Python version
Dependencies:
flake8==5.0.4
flake8-eradicate==1.4.0
flake8-noqa==1.2.9
Current behaviour
code.py
flake8 run
code.py
flake8 run
Expected behaviour
code.py
flake8 run
code.py
flake8 run -- no error
I created the same issue in flake8-noqa repository but its author pointed out that the issue could be in your package.
Can you please take a look?