forked from ahupp/python-magic
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (42 loc) · 671 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
[tox]
envlist =
coverage-clean,
py27,
py35,
py36,
py37,
py38,
py39,
coverage-report,
mypy
[testenv]
commands =
coverage run -m pytest
setenv =
COVERAGE_FILE=.coverage.{envname}
LC_ALL=en_US.UTF-8
deps =
.[test]
coverage
pytest
[testenv:coverage-clean]
deps = coverage
setenv =
COVERAGE_FILE=.coverage
skip_install = true
commands = coverage erase
[testenv:coverage-report]
deps = coverage
setenv =
COVERAGE_FILE=.coverage
skip_install = true
commands =
coverage combine
coverage report
coverage html
coverage
[testenv:mypy]
deps = mypy
skip_install = true
commands =
mypy -p magic