Skip to content

Commit 99cb08b

Browse files
authored
Update .pre-commit-config.yaml for flake8 and bandit
1 parent 2976634 commit 99cb08b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@ repos:
1919
rev: 7.3.0
2020
hooks:
2121
- id: flake8
22+
args: ["--ignore=E501,E231"]
23+
2224

2325
# Security checks
2426
- repo: https://github.com/PyCQA/bandit
2527
rev: 1.8.5
2628
hooks:
2729
- id: bandit
28-
args: [-f, json, -o, bandit-report.json]
30+
args: ['--configfile', 'pyproject.toml', '-f', 'json', '-o', 'bandit-report.json']
2931
exclude: ^tests/
3032

3133
# Check for merge conflicts

0 commit comments

Comments
 (0)