summaryrefslogtreecommitdiffstats
path: root/tox.ini
blob: 33cae3c9ec4cc31ec589ba50b149a49bd1eaeacf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[tox]
envlist = py27,py35,py36,pypy,pre-commit
tox_pip_extensions_ext_venv_update = true

[testenv]
deps = -rrequirements-dev.txt
extras = license
commands =
    coverage erase
    coverage run -m pytest {posargs:tests}
    coverage report --fail-under 100

[testenv:pre-commit]
skip_install = true
deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure

[flake8]
max-line-length = 119

[pep8]
ignore = E265,E501,W504