Add checkqa test environment to tox

Add support to run QA tests locally
This commit is contained in:
Johannes Hoppe 2019-03-26 11:36:41 +01:00
parent ec8a8e7df4
commit 934ca95883
2 changed files with 10 additions and 1 deletions

View file

@ -1,2 +1,2 @@
[bandit]
exclude: tests
exclude: tests,.tox

View file

@ -4,6 +4,7 @@ usedevelop = true
minversion = 1.8
whitelist_externals = sphinx-build
envlist =
ckeckqa,
readme-py27,
py{27,34,35,36,py}-dj{18,110,111}
py{34,35,36,37}-dj20
@ -36,3 +37,11 @@ commands =
[testenv:readme-py27]
commands = python setup.py check -r -s
deps = readme_renderer
[testenv:checkqa]
commands =
flake8 {toxinidir}
bandit -r {toxinidir}
deps =
flake8
bandit