-
Notifications
You must be signed in to change notification settings - Fork 10
/
tox.ini
53 lines (44 loc) · 895 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
[tox]
envlist = py{35,36},flake8,mypy,pydocstyle,docs
[testenv]
passenv = DISPLAY TRAVIS
setenv =
TOX = 1
deps =
-rrequirements-test.txt
coverage
commands =
coverage run -m unittest discover -t {toxinidir} tests
[testenv:flake8]
deps = flake8
skip_install = true
commands =
flake8 setup.py wdom tests
[testenv:mypy]
deps = mypy
skip_install = true
commands =
mypy wdom
[testenv:pydocstyle]
deps = pydocstyle
skip_install = true
commands =
pydocstyle wdom
[testenv:docs]
whitelist_externals =
make
deps = -rrequirements-docs.txt
commands =
make docs
[testenv:codecov]
passenv = CI TRAVIS TRAVIS_*
deps = codecov
skip_install = true
commands =
codecov
[flake8]
exclude = docs,tmp,_static,.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg
max-complexity = 7
[pydocstyle]
ignore = D105,D107,D203,D213,D404
match_dir = (?!(tmp|docs|ja_docs|themes|examples|tests|\.)).*