-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
43 lines (38 loc) · 878 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
[tox]
envlist =
packaging
requirements
style
typing
py37
[testenv]
deps =
-rrequirements-test.txt
commands =
pytest -ra -v --strict --doctest-modules --cov=pepubot {posargs}
[testenv:packaging]
description = Sdist and wheel packaging checks
skip_install = True
basepython = python3.7
deps =
readme_renderer[md]
twine
commands = ./check-packaging
[testenv:requirements]
description = Generated requirements check
skip_install = True
basepython = python3.7
deps = prequ==1.4.7
commands = prequ {posargs:check -v}
[testenv:style]
description = Coding style checks
skip_install = True
basepython = python3.7
deps = -rrequirements-style.txt
commands = flake8 {posargs}
[testenv:typing]
description = Static type checks with Mypy
skip_install = True
basepython = python3.7
deps = -rrequirements-typing.txt
commands = mypy --strict {posargs:.}