Skip to content

Commit

Permalink
Merge pull request #111 from cisagov/bug/update_bandit_in_pre-commit_…
Browse files Browse the repository at this point in the history
…configuration

Update the version of the second `bandit` hook
  • Loading branch information
mcdonnnj committed Jan 7, 2023
2 parents 461e873 + 99ee709 commit 36b39b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ repos:
- id: shell-lint

# Python hooks
# Run bandit on "tests" tree with a configuration
# Run bandit on the "tests" tree with a configuration
- repo: https://github.com/PyCQA/bandit
rev: 1.7.4
hooks:
Expand All @@ -90,9 +90,9 @@ repos:
files: tests
args:
- --config=.bandit.yml
# Run bandit everything but tests directory
# Run bandit on everything except the "tests" tree
- repo: https://github.com/PyCQA/bandit
rev: 1.7.0
rev: 1.7.4
hooks:
- id: bandit
name: bandit (everything else)
Expand Down

0 comments on commit 36b39b8

Please sign in to comment.