dosage/tox.ini
Tobias Gruetzmacher ed1094b680 Set minimum Python version to 2.7.
This suppresses some useless warnings from newer versions of
flake8-future-import.
2016-06-04 22:41:00 +02:00

28 lines
643 B
INI

[tox]
envlist = py27, py35
[testenv]
commands =
{envbindir}/py.test --cov=dosage --cov=dosagelib --tb=short -n4 \
--junitxml={toxworkdir}/junit-{envname}.xml {posargs}
- {envbindir}/flake8
passenv = TRAVIS
# Also install optional dependencies for tests.
deps =
-rrequirements.txt
pytest-xdist
pytest-cov
pytest-travis-fold
cssselect
Pillow
flake8
flake8-coding
flake8-future-import
[flake8]
# we aim for 79, but this suppresses warnings for now...
max-line-length = 120
ignore = E121,E126,E241,FI12,FI14,FI15,FI50,FI51,FI53,FI54,FI55
exclude = build
require-code = True
min-version = 2.7