forked from pallets-eco/wtforms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
55 lines (49 loc) · 994 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[tox]
envlist =
py{37,36,35,34,27,py3,py}
stylecheck
docs-html
coverage-report
[testenv]
passenv = LANG
deps =
pytest
coverage
babel
email_validator
py27: ipaddress
pypy: ipaddress
commands =
coverage run -p -m pytest {posargs}
[testenv:docs-html]
deps =
sphinx
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html
[testenv:docs-linkcheck]
deps =
sphinx
commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs {envtmpdir}/linkcheck
[testenv:coverage-report]
deps = coverage
skip_install = True
commands =
coverage combine
coverage report
coverage html
[testenv:coveralls]
passenv = CI TRAVIS TRAVIS_*
deps = coveralls
skip_install = True
commands =
coverage combine
coverage report
coveralls
[testenv:stylecheck]
basepython = python3.6
deps =
black
flake8
flake8-bugbear
commands =
black --check src tests docs setup.py
flake8 src tests docs setup.py