Skip to content

Commit

Permalink
Removes deprecated 322 test from bandit (#5670)
Browse files Browse the repository at this point in the history
  • Loading branch information
kushaldas authored Dec 15, 2020
1 parent c0415ea commit b24cbaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ safety: ## Run `safety check` to check python dependencies for vulnerabilities.
bandit: test-config ## Run bandit with medium level excluding test-related folders.
@command -v bandit || (echo "Please run 'pip install -U bandit'."; exit 1)
@echo "███ Running bandit..."
@bandit -ll --skip B322 --exclude ./admin/.tox,./admin/.venv,./admin/.eggs,./molecule,./testinfra,./securedrop/tests,./.tox,./.venv*,securedrop/config.py --recursive .
@bandit -ll --exclude ./admin/.tox,./admin/.venv,./admin/.eggs,./molecule,./testinfra,./securedrop/tests,./.tox,./.venv*,securedrop/config.py --recursive .
@echo "███ Running bandit on securedrop/config.py..."
@bandit -ll --skip B108,B322 securedrop/config.py
@bandit -ll --skip B108 securedrop/config.py
@echo

#############
Expand Down

0 comments on commit b24cbaa

Please sign in to comment.