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
43 lines (38 loc) · 826 Bytes
/
tox.ini
File metadata and controls
43 lines (38 loc) · 826 Bytes
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 = lint,py{27,34,35,36,37},pypy,pypy3,manifest,coverage-report
[testenv]
deps =
pytest
coverage
sh
click
py{27,py}: ipython<6.0.0
py34: ipython<7.0.0
py{35,36,37,py3}: ipython
commands = coverage run --parallel -m pytest {posargs}
[testenv:lint]
skip_install = true
deps =
flake8
mypy
commands =
flake8 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