Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
Keep bandit args in .pre-commit-config.yaml as well as .vscode/settin…
Browse files Browse the repository at this point in the history
…gs.json

Bandit will soon support configuration via pyproject.toml but a version supporting this has not yet been released. See PyCQA/bandit#550
  • Loading branch information
jtbandes committed Nov 5, 2021
1 parent 7b11a30 commit e4294c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Expand Up @@ -34,6 +34,7 @@ repos:
rev: 1.7.0
hooks:
- id: bandit
args: ["--skip", "B101,B110,B311"]

- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
Expand Down
4 changes: 4 additions & 0 deletions .vscode/settings.json
Expand Up @@ -7,4 +7,8 @@
"[python]": {
"editor.formatOnSave": true
},
"python.linting.banditArgs": [
"--skip",
"B101,B110,B311"
],
}

0 comments on commit e4294c0

Please sign in to comment.