-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathtox.ini
More file actions
54 lines (47 loc) · 898 Bytes
/
tox.ini
File metadata and controls
54 lines (47 loc) · 898 Bytes
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
[tox]
minversion = 4.6
envlist = pep8,mypy,clean,py3,report
[testenv]
deps =
-r{toxinidir}/test-requirements.txt
commands =
pytest -Wall --cov=git_pw --cov-report term-missing {posargs}
[testenv:pep8]
skip_install = true
deps =
pre-commit
commands =
pre-commit run --all-files --show-diff-on-failure
[testenv:mypy]
deps=
mypy
types-PyYAML
types-requests
types-setuptools
types-tabulate
commands=
mypy --cache-dir="{envdir}/mypy_cache" {posargs:git_pw}
[testenv:report]
skip_install = true
deps =
coverage
commands =
coverage report
coverage html
[testenv:clean]
envdir = {toxworkdir}/report
skip_install = true
deps =
{[testenv:report]deps}
commands =
coverage erase
[testenv:docs]
deps =
-r{toxinidir}/docs/requirements.txt
commands =
sphinx-build {posargs:-E -W} docs docs/_build/html
[testenv:man]
deps =
click-man~=0.5.1
commands =
click-man git-pw