Skip to content

Commit

Permalink
build: remove args from flake8 and add config file path to bandit
Browse files Browse the repository at this point in the history
  • Loading branch information
luizdesuo committed Nov 23, 2023
1 parent e2686a5 commit 18ec152
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ repos:
rev: 'v1.7.5'
hooks:
- id: bandit
args: [--config=bandit.yml]
- repo: https://github.com/terrencepreilly/darglint
rev: master
hooks:
Expand Down Expand Up @@ -78,7 +79,6 @@ repos:
rev: 6.0.0
hooks:
- id: flake8
args: [--darglint-ignore-regex, .*]
additional_dependencies:
- flake8-bugbear
- flake8-docstrings
Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.project_name}}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ repos:
rev: 'v1.7.5'
hooks:
- id: bandit
args: [--config=bandit.yml]
- repo: https://github.com/terrencepreilly/darglint
rev: master
hooks:
Expand Down Expand Up @@ -78,7 +79,6 @@ repos:
rev: 6.0.0
hooks:
- id: flake8
args: [--darglint-ignore-regex, .*]
additional_dependencies:
- flake8-bugbear
- flake8-docstrings
Expand Down

0 comments on commit 18ec152

Please sign in to comment.