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 9f7ed34 commit f78f8c1Copy full SHA for f78f8c1
bandit.yaml
@@ -1,3 +1,8 @@
1
assert_used:
2
skips:
3
- - "tests/test_*.py"
+ - "tests/test_*.py"
4
+
5
+# Do not check paths including `/tests/`:
6
+# they use `assert`, leading to B101 false positives.
7
+exclude_dirs:
8
+ - '/tests/'
0 commit comments