diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5366a67de..dd615bdc3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/.vscode/settings.json b/.vscode/settings.json index c74ae4f4f..46660758d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,4 +7,8 @@ "[python]": { "editor.formatOnSave": true }, + "python.linting.banditArgs": [ + "--skip", + "B101,B110,B311" + ], }