-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtox.ini
49 lines (41 loc) · 752 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
[tox]
envlist =
py36
pylint
mypy
isort
docs-html
docs-linkcheck
setup-py-check
test
[testenv:test]
deps =
pytest>=3
pytest-cov>=2
toml>=0.9
dataclasses>=0.4
requests>=2.18
commands =
pytest --cov=configclasses --cov-report=term-missing tests
[testenv:docs-html]
deps =
sphinx
sphinx_rtd_theme
changedir = docs
commands = sphinx-build -M html . _build
[testenv:docs-linkcheck]
deps = sphinx
changedir = docs
commands = sphinx-build -M linkcheck . _build
[testenv:setup-py-check]
deps = docutils
commands = python setup.py check -rms
[testenv:lint]
deps =
isort
pylint
mypy
commands =
isort configclasses tests
pylint configclasses tests
mypy configclasses