Merge "Add bandit target to shipyard"

This commit is contained in:
Tin Lam 2017-08-29 12:14:01 -04:00 committed by Gerrit Code Review
commit 5f03b8d3ba
2 changed files with 6 additions and 0 deletions

View File

@ -7,3 +7,6 @@ psycopg2==2.7.3
# Linting
flake8==3.3.0
# Security scanning
bandit>=1.1.0 # Apache-2.0

View File

@ -13,6 +13,9 @@ commands=
[testenv:pep8]
commands = flake8 {posargs}
[testenv:bandit]
commands = bandit -r shipyard_airflow -x tests -n 5
[flake8]
# NOTE(Bryan Strassner) ignoring F841 because of the airflow example pattern
# of naming variables even if they aren't used for DAGs and Operators.