tylerwince / flake8-bandit

Automated security testing using bandit and flake8.
MIT License
110 stars 23 forks source link

flake8-bandit stopping other extension's error codes from being raised #32

Closed jonyscathe closed 2 years ago

jonyscathe commented 2 years ago

Some weird behaviour when both flake8-noqa and flake8-bandit are installed, with a few of the flake8-noqa codes not being raised:

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

jonyscathe commented 2 years ago

Sorry - issue with my settings, not with anything in flake8-bandit