-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
45 lines (38 loc) · 796 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
[tox]
envlist = cov-clean, py{33,34,35}, cov-report
[testenv]
deps =
coverage >=4.0
pytest >=3.0
pytest-raisesregexp
commands =
coverage run -p --rcfile={toxinidir}/tox.ini -m pytest -s {posargs}
[testenv:cov-clean]
skip_install = true
deps = coverage
commands =
coverage erase
[testenv:cov-report]
skip_install = true
deps = coverage
commands =
coverage combine --rcfile={toxinidir}/tox.ini
coverage report --rcfile={toxinidir}/tox.ini
coverage html --rcfile={toxinidir}/tox.ini
[run]
branch = True
source = typo
omit =
**/__init__.py
**/_version.py
[report]
exclude_lines =
pragma: no cover
raise NotImplementedError
@abc.abstract
[paths]
source =
typo
.tox/py*/lib/python*/site-packages/typo
[flake8]
max-line-length = 99