forked from twisted/towncrier
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtox.ini
56 lines (46 loc) · 866 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
54
55
56
[tox]
envlist = cov-erase, flake8, {pypy3,py27,py35,py36,py37,py38}-tests, cov-report
skip_missing_envs = true
[testenv:flake8]
skip_install = True
deps =
flake8
commands =
flake8 src/towncrier/
basepython = python3.6
[testenv:check-manifest]
skip_install = True
deps =
check_manifest
commands =
check-manifest -v
basepython = python3.6
[testenv:check-newsfragment]
commands =
python -m towncrier.check
basepython = python3.6
[testenv]
deps =
Twisted
coverage
incremental
commands =
python -V
coverage --version
{envbindir}/trial --version
coverage erase
coverage run -p {envbindir}/trial {posargs:towncrier}
coverage combine -a
[testenv:cov-report]
deps =
coverage
commands =
coverage html
coverage report
[testenv:cov-erase]
deps =
coverage
commands =
coverage erase
[flake8]
max-line-length = 99