-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtox.ini
62 lines (55 loc) · 1001 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
57
58
59
60
61
62
[tox]
envlist = py27,py34,py35,py36,py37,py38,py39,pycodestyle,pyflakes,pylint2,pylint3,mypy2,mypy3
[testenv]
commands =
python setup.py test
[testenv:pycodestyle]
basepython = python3.9
deps =
pycodestyle
skip_install = True
commands =
pycodestyle validation setup.py
[testenv:pyflakes]
basepython = python3.9
deps =
pyflakes
skip_install = True
commands =
pyflakes validation setup.py
[testenv:pylint2]
basepython = python2.7
deps =
pylint==1.9.5
extras =
test
commands =
pylint -E validation setup.py
[testenv:pylint3]
basepython = python3.9
deps =
pylint==2.12.2
extras=
test
commands =
pylint -E validation setup.py
[testenv:mypy2]
basepython = python3.9
deps =
mypy[python2]==0.930
types-pytz==2021.3.3
types-six==0.1.9
extras =
test
commands =
mypy --py2 validation
[testenv:mypy3]
basepython = python3.9
deps =
mypy==0.930
types-pytz==2021.3.3
types-six==0.1.9
extras =
test
commands =
mypy validation