adjutant/tox.ini
adrian-turjak 1961ca91c3 Adding pep8 tests
* also fixing test posargs to allow single test running
* fixing up random pep8 failures
* removing empty or unused test modules

Change-Id: I59bb2fedeeac2b8eeb45740d16768fec59fb3e4b
2016-12-06 18:09:36 +13:00

20 lines
499 B
INI

[tox]
envlist = py27,pep8
skipsdist = True
[testenv]
usedevelop = True
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = stacktask-api test {posargs}
setenv = VIRTUAL_ENV={envdir}
[testenv:pep8]
commands = flake8
[flake8]
ignore = D100,D101,D102,D103,D104,D105,D200,D203,D202,D204,D205,D208,D400,D401
show-source = true
builtins = _
exclude=.venv,venv,.env,env,.git,.tox,dist,doc,*lib/python*,*egg,stacktask/api/migrations/*,stacktask/actions/migrations