Skip to content

Commit

Permalink
🔧 Ignore B311 bandit error
Browse files Browse the repository at this point in the history
  • Loading branch information
valentingol committed Nov 24, 2023
1 parent 4193e5f commit 9149488
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pre-commit-checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ pytest --cov-report term-missing --cov=./template tests/
check_output "Unit tests"

echo "**************** Bandit ****************"
bandit -r --skip B605,B607 . > /dev/null
check_output "Unit tests"
bandit -r --skip B605,B607,B311 . > /dev/null
check_output "Bandit tests"

echo "**************** Typing ****************"
mypy .
Expand Down

0 comments on commit 9149488

Please sign in to comment.