Skip to content

Commit f78f8c1

Browse files
committed
fix
1 parent 9f7ed34 commit f78f8c1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

bandit.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
assert_used:
22
skips:
3-
- "tests/test_*.py"
3+
- "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

Comments
 (0)