We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c76a2a8 commit 07b5fc9Copy full SHA for 07b5fc9
.bandit.yml
@@ -134,6 +134,7 @@ any_other_function_with_shell_equals_true:
134
- subprocess.run
135
assert_used:
136
skips:
137
+ - tests/*.py
138
- ./tests/*.py
139
hardcoded_tmp_directory:
140
tmp_dirs:
.pre-commit-config.yaml
@@ -32,3 +32,9 @@ repos:
32
args: [ --fix ]
33
# Run the formatter.
34
#- id: ruff-format
35
+ - repo: https://github.com/PyCQA/bandit
36
+ # Ruff version.
37
+ rev: 1.7.6
38
+ hooks:
39
+ - id: bandit
40
+ args: [ --configfile, .bandit.yml ]
0 commit comments