mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
Add checkqa test environment to tox
Add support to run QA tests locally
This commit is contained in:
parent
ec8a8e7df4
commit
934ca95883
2 changed files with 10 additions and 1 deletions
2
.bandit
2
.bandit
|
|
@ -1,2 +1,2 @@
|
|||
[bandit]
|
||||
exclude: tests
|
||||
exclude: tests,.tox
|
||||
|
|
|
|||
9
tox.ini
9
tox.ini
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue