-
Notifications
You must be signed in to change notification settings - Fork 19
/
tox.ini
37 lines (32 loc) · 885 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
[tox]
envlist = py35, py36, py37, py38, pylint, flake8, pydocstyle
skip_missing_interpreters = True
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/insteonplm
whitelist_externals = /usr/bin/env
install_command = /usr/bin/env pip install {opts} {packages}
commands =
py.test --timeout=300 {posargs}
deps =
-r{toxinidir}/requirements_test.txt
[testenv:pylint]
basepython = {env:PYTHON3_PATH:python3}
ignore_errors = True
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements_test.txt
commands =
pylint insteonplm
[testenv:flake8]
basepython = {env:PYTHON3_PATH:python3}
deps =
-r{toxinidir}/requirements_test.txt
commands =
flake8 --ignore=W504,W503,E203 --max-line-length=89 insteonplm
[testenv:pydocstyle]
basepython = {env:PYTHON3_PATH:python3}
deps =
-r{toxinidir}/requirements_test.txt
commands =
pydocstyle insteonplm