Add flake8-bandit
This commit is contained in:
parent
137b3b1e03
commit
2000ceca54
1 changed files with 78 additions and 4 deletions
|
|
@ -91,6 +91,7 @@ dev = [
|
|||
# Code Analyzers
|
||||
"flake8 (>=7.5.0,<8.0.0)",
|
||||
"flake8-annotations (>=3.3.1,<4.0.0)",
|
||||
"flake8-bandit (>=4.1.1,<5.0.0)",
|
||||
"flake8-black (>=0.5.0,<0.6.0)",
|
||||
"flake8-pyproject (>=1.2.4,<2.0.0)",
|
||||
"flake8-pytest-style (>=2.2.0,<3.0.0)",
|
||||
|
|
@ -244,8 +245,6 @@ per-file-ignores = [
|
|||
"migrations/versions/*.py:ANN0,ANN2,S608",
|
||||
# Type annotations are not strictly enforced.
|
||||
"noxfile.py:ANN0,ANN2",
|
||||
# No SQL injection as the inputs come from a safe source.
|
||||
"src/velofy/forecasts/timify.py:S608",
|
||||
# - ANN0, ANN2 => Type annotations are not strictly enforced.
|
||||
# - D106 => The `Meta` class inside the factory_boy models do not need a docstring.
|
||||
# - S101 => `assert` statements are ok in the test suite.
|
||||
|
|
|
|||
Loading…
Reference in a new issue