Skip to content

Commit

Permalink
Add bandit tool in the pre-commit (#1228)
Browse files Browse the repository at this point in the history
* Update .pre-commit-config.yaml

* Update .pre-commit-config.yaml

* Update .pre-commit-config.yaml

* Update .pre-commit-config.yaml

* add arguments
  • Loading branch information
edgarriba committed Aug 26, 2021
1 parent e6f7185 commit 94c2f46
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,13 @@ repos:
hooks:
- id: pyupgrade
args: [--py36-plus]

- repo: https://github.com/PyCQA/bandit
rev: 1.7.0
hooks:
- id: bandit
args:
- --recursive
- --skip
- "B101,B110,B311,B404,B602,B603,B607"
- .

0 comments on commit 94c2f46

Please sign in to comment.