-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
55 lines (49 loc) · 1.04 KB
/
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 =
coverage-clean
{python2.7,python3.6,python3.7,python3.8,python3.9}
docs
manifest
readme
coverage-report
[testenv]
ignore_errors = true
skip_missing_interpreters = true
setenv =
PYTHONPATH = {toxinidir}
ENVNAME = {envname}
LC_CTYPE = en_US.UTF-8
# LC_CTYPE is required in order to get utf8
# output inside of sub-processes that tests
# utilize
commands =
{toxinidir}/scripts/install.py {posargs}
{toxinidir}/scripts/runtests.py {posargs}
coverage run --parallel -m pytest {posargs}
pycodestyle
[testenv:docs]
basepython = python3.9
extras = docs
commands =
pip install ".[docs]"
python setup.py docs
[testenv:manifest]
deps = check-manifest
commands = check-manifest
[testenv:readme]
skip_install = true
deps = readme_renderer, twine
commands =
python setup.py check -r -s
twine check dist/*
[testenv:coverage-clean]
skip_install = true
deps = coverage
commands = coverage erase
[testenv:coverage-report]
basepython = python3.9
skip_install = true
deps = coverage
commands =
coverage combine
coverage report