Add bandit linting to tox.ini

This commit is contained in:
Dmitri Bogomolov 2021-08-02 15:26:25 +03:00
parent 03d6361a3d
commit 737b529298
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -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 =