forked from theskumar/python-dotenv
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
50 lines (44 loc) · 1.01 KB
/
tox.ini
File metadata and controls
50 lines (44 loc) · 1.01 KB
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
[tox]
envlist = lint,py{27,34,35,36,37,38,34-no-typing},pypy,pypy3,manifest,coverage-report
[testenv]
deps =
mock
pytest
coverage
sh
click
py{27,py}: ipython<6.0.0
py34{,-no-typing}: ipython<7.0.0
py{35,36,37,38,py3}: ipython
commands = coverage run --parallel -m pytest {posargs}
[testenv:py34-no-typing]
commands =
pip uninstall --yes typing
coverage run --parallel -m pytest -k 'not test_ipython' {posargs}
[testenv:lint]
skip_install = true
deps =
flake8
mypy
commands =
flake8 src tests
mypy --python-version=3.8 src tests
mypy --python-version=3.7 src tests
mypy --python-version=3.6 src tests
mypy --python-version=3.5 src tests
mypy --python-version=3.4 src tests
mypy --python-version=2.7 src tests
[testenv:manifest]
deps = check-manifest
skip_install = true
commands = check-manifest
[testenv:coverage-clean]
deps = coverage
skip_install = true
commands = coverage erase
[testenv:coverage-report]
deps = coverage
skip_install = true
commands =
coverage combine
coverage report