Add bandit linting to tox.ini
This commit is contained in:
parent
03d6361a3d
commit
737b529298
2
tox.ini
2
tox.ini
|
@ -4,6 +4,7 @@ skip_missing_interpreters = true
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
|
bandit
|
||||||
flake8
|
flake8
|
||||||
pylint
|
pylint
|
||||||
-rrequirements.txt
|
-rrequirements.txt
|
||||||
|
@ -16,6 +17,7 @@ commands =
|
||||||
flake8 minode --count --select=E9,F63,F7,F82 --show-source --statistics
|
flake8 minode --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||||
flake8 minode --count --statistics
|
flake8 minode --count --statistics
|
||||||
pylint minode --exit-zero --rcfile=tox.ini
|
pylint minode --exit-zero --rcfile=tox.ini
|
||||||
|
bandit -r --exit-zero -x tests minode
|
||||||
|
|
||||||
[testenv:stats]
|
[testenv:stats]
|
||||||
commands =
|
commands =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user