Merge "add bandit to pep8 job"
This commit is contained in:
commit
d7817e2ee1
@ -7,3 +7,5 @@ coverage!=4.4,>=4.0 # Apache-2.0
|
||||
testrepository>=0.0.18 # Apache-2.0/BSD
|
||||
# sphinx is needed for testing the sphinxext module
|
||||
sphinx>=1.6.2 # BSD
|
||||
# Bandit security code scanner
|
||||
bandit>=1.1.0 # Apache-2.0
|
||||
|
9
tox.ini
9
tox.ini
@ -20,9 +20,14 @@ deps =
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:pep8]
|
||||
deps = flake8
|
||||
deps =
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
flake8
|
||||
ignore = E251
|
||||
commands = flake8 stevedore setup.py
|
||||
commands =
|
||||
flake8 stevedore setup.py
|
||||
# Run security linter
|
||||
bandit -r stevedore -x tests -n5
|
||||
|
||||
[testenv:docs]
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
|
Loading…
Reference in New Issue
Block a user