-
Notifications
You must be signed in to change notification settings - Fork 3
/
tox.ini
44 lines (37 loc) · 788 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
[tox]
envlist = py27, py34, py35, py36, flake8, pep257, mypy
[travis]
python =
3.6: py36
3.5: py35
3.4: py34
2.7: py27
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
setenv =
PYTHONPATH = {toxinidir}
deps =
coveralls
commands =
make coverage
coveralls
[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 sainsmart
[testenv:pep257]
basepython=python
deps=pep257
commands=pep257 sainsmart
[testenv:mypy]
basepython=python
deps=mypy
commands=mypy sainsmart
[testenv]
setenv =
PYTHONPATH = {toxinidir}
commands =
python setup.py test
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following lines:
; deps =
; -r{toxinidir}/requirements_dev.txt