summaryrefslogtreecommitdiffstats
path: root/tox.ini
blob: a063c94ecd512f94cb7fbe2272be7fc8f35d46c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[tox]
envlist = py36,pypy3,pre-commit

[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

[pep8]
ignore = E265,E501,W504