diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 792497c..26ee614 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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"]