Some weird behaviour when both flake8-noqa and flake8-bandit are installed, with a few of the flake8-noqa codes not being raised:
If I have a blanket noqa on a line with no violations NQA101 does not get flagged.
If I have a noqa with a made up random code (i.e., # noqa: ABC123) then NQA102 does get flagged.
But if I have a noqa with a genuine code (i.e., # noqa: S101 or # noqa: PD001) then NQA102 does not get flagged.
Obviously I have no idea if the issue lies within flake8-bandit or flake8-noqa, but there does seem to be some compatibility issue there.
Running flake8==3.9.2
I am running flake-noqa==1.2.3 (though issue still exists with 1.2.2, 1.2.0, 1.1.0, 1.0.0)
I am running flake8-bandit==3.0.0 (problem doesn't seem to happen with 2.0.0 and does with 2.0.1)
The fact the problem seems to appear with flake8-bandit 2.0.1 would lead me to believe the issue is with flake8-bandit, but the only change in that project from 2.0.0 -> 2.0.1 was some setup.py changes which I wouldn't have thought would cause any issues like this: https://github.com/tylerwince/flake8-bandit/compare/v2.0.0...v2.0.1
I am also raising an issue in flake8-noqa about this given that I'm not sure which project is actually causing the problem
Some weird behaviour when both flake8-noqa and flake8-bandit are installed, with a few of the flake8-noqa codes not being raised:
# noqa: ABC123
) then NQA102 does get flagged.# noqa: S101
or# noqa: PD001
) then NQA102 does not get flagged.Obviously I have no idea if the issue lies within flake8-bandit or flake8-noqa, but there does seem to be some compatibility issue there.
Running flake8==3.9.2 I am running flake-noqa==1.2.3 (though issue still exists with 1.2.2, 1.2.0, 1.1.0, 1.0.0) I am running flake8-bandit==3.0.0 (problem doesn't seem to happen with 2.0.0 and does with 2.0.1) The fact the problem seems to appear with flake8-bandit 2.0.1 would lead me to believe the issue is with flake8-bandit, but the only change in that project from 2.0.0 -> 2.0.1 was some setup.py changes which I wouldn't have thought would cause any issues like this: https://github.com/tylerwince/flake8-bandit/compare/v2.0.0...v2.0.1
I am also raising an issue in flake8-noqa about this given that I'm not sure which project is actually causing the problem