Skip to content

Commit 33ca079

Browse files
committed
Add bandit to pre-commit
1 parent 634f56a commit 33ca079

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,15 @@ ci:
1111

1212
repos:
1313
- repo: https://github.com/astral-sh/ruff-pre-commit
14-
rev: v0.11.4
14+
rev: 971923581912ef60a6b70dbf0c3e9a39563c9d47 #v0.11.4
1515
hooks:
1616
- id: ruff
1717
args: [--fix, --show-fixes]
1818
- id: ruff-format
19+
- repo: https://github.com/PyCQA/bandit
20+
rev: 8ff25e07e487f143571cc305e56dd0253c60bc7b #v1.8.3
21+
hooks:
22+
- id: bandit
1923

2024
default_language_version:
2125
python: python3

0 commit comments

Comments
 (0)