qdegraaf
|
5c93a524f1
|
[flake8-bandit ] Implement S4XX suspicious import rules (#8831)
## Summary
Adds all `S4XX` rules to the
[flake8-bandit](https://github.com/tylerwince/flake8-bandit) plugin
port.
There is a lot of documentation to write, some tests can be expanded and
implementation can probably be refactored to be more compact. As there
is some discussion on whether this is actually useful. (See:
https://github.com/astral-sh/ruff/issues/1646#issuecomment-1732331441),
wanted to check which rules we want to have before I go through the
process of polishing this up.
## Test Plan
Fixtures for all rules based on `flake8-bandit`
[tests](https://github.com/tylerwince/flake8-bandit/tree/main/tests)
## Issue link
Refers: https://github.com/astral-sh/ruff/issues/1646
|
2024-01-03 18:26:26 +00:00 |
|