Skip to content

Commit

Permalink
🔧 chore: Update pre-commit config
Browse files Browse the repository at this point in the history
- Add bandit pre-commit hook
  • Loading branch information
ARYAN-NIKNEZHAD committed Aug 28, 2024
1 parent 7dd8ca4 commit f47bd9a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,10 @@ repos:
hooks:
- id: black
exclude: (migrations/|tests/|docs/|static/|media/).*

- repo: https://github.com/PyCQA/bandit
rev: 1.7.4
hooks:
- id: bandit
args: ["-c pyproject.toml"]
additional_dependencies: ["toml"]

0 comments on commit f47bd9a

Please sign in to comment.