Skip to content

Commit

Permalink
Add bandit.
Browse files Browse the repository at this point in the history
  • Loading branch information
wRAR committed Oct 14, 2024
1 parent 520df0b commit 2bdc8cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .bandit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
skips:
- B101
exclude_dirs: ['tests']
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
default_language_version:
python: python3.13
repos:
- hooks:
- id: bandit
args: [-r, -c, .bandit.yml]
repo: https://github.com/PyCQA/bandit
rev: 1.7.10
- hooks:
- id: black
language_version: python3
Expand Down

0 comments on commit 2bdc8cd

Please sign in to comment.