forked from bimmerconnected/bimmer_connected
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
31 lines (26 loc) · 659 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
[tox]
envlist = py36, py37, py38, pylint, flake8, docs
skip_missing_interpreters = True
[testenv]
deps =
-rrequirements.txt
-rrequirements-test.txt
-rrequirements-docs.txt
passenv = TRAVIS TRAVIS_*
commands = pytest --cov=bimmer_connected --timeout=10 test
[flake8]
max-complexity = 10
install-hook=git
max-line-length=120
[testenv:flake8]
base=python3
ignore_errors=True
commands=flake8 bimmer_connected test
[testenv:pylint]
basepython = python3
skip_install = true
commands = pylint -j4 bimmer_connected test
[testenv:docs]
basepython = python3
changedir = docs
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees source build/html