-
Notifications
You must be signed in to change notification settings - Fork 9
/
tox.ini
44 lines (37 loc) · 879 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 =
py35,
py36,
py37,
py38,
flake8,
pydocstyle,
pylint,
coverage,
coveralls
skip_missing_interpreters = True
[gh-actions]
python =
3.5: flake8, pydocstyle, pylint, coverage
3.6: flake8, pydocstyle, pylint, coverage
3.7: flake8, pydocstyle, pylint, coverage
3.8: flake8, pydocstyle, pylint, coverage, coveralls
[testenv]
deps = -rrequirements-dev.txt
passenv = TRAVIS TRAVIS_* COVERALLS_* GITHUB_*
[testenv:flake8]
commands =
python -m flake8 --ignore=E129,W504 owlet_api
[testenv:pydocstyle]
commands =
pydocstyle owlet_api
[testenv:pylint]
commands =
python -m pylint --rcfile=.pylintrc owlet_api
[testenv:coverage]
commands =
python -m pytest --cov=owlet_api --cov-report term-missing tests
[testenv:coveralls]
commands =
coverage run --source=owlet_api -m py.test tests
coveralls