2012-06-11 11:07:14 +01:00
|
|
|
[tox]
|
2013-09-17 16:34:21 +00:00
|
|
|
minversion = 1.6
|
2015-12-22 10:15:21 +01:00
|
|
|
envlist = linters
|
2013-09-19 07:57:23 -07:00
|
|
|
skipsdist = True
|
2012-06-11 11:07:14 +01:00
|
|
|
|
2013-09-17 16:34:21 +00:00
|
|
|
[testenv]
|
2013-09-19 07:57:23 -07:00
|
|
|
usedevelop = True
|
|
|
|
install_command = pip install {opts} {packages}
|
|
|
|
deps = -r{toxinidir}/test-requirements.txt
|
2013-09-17 16:34:21 +00:00
|
|
|
|
2015-12-22 10:15:21 +01:00
|
|
|
[testenv:linters]
|
|
|
|
commands =
|
|
|
|
flake8
|
|
|
|
{toxinidir}/tools/run-bashate.sh
|
2015-12-23 20:14:57 +01:00
|
|
|
python {toxinidir}/tools/sorted_modules_env.py {toxinidir}/modules.env
|
2015-12-22 10:15:21 +01:00
|
|
|
|
2012-09-26 13:39:31 -07:00
|
|
|
[testenv:venv]
|
|
|
|
commands = {posargs}
|
2013-09-19 07:57:23 -07:00
|
|
|
|
2014-08-27 14:10:16 -04:00
|
|
|
[testenv:docs]
|
|
|
|
commands = python setup.py build_sphinx
|
|
|
|
|
2013-09-19 07:57:23 -07:00
|
|
|
[flake8]
|
|
|
|
show-source = True
|
2015-12-07 10:47:37 +01:00
|
|
|
exclude = .tox,.eggs
|
2013-09-19 07:57:23 -07:00
|
|
|
ignore = E125,H
|
2014-05-29 23:48:56 +02:00
|
|
|
select = H231
|