-
Notifications
You must be signed in to change notification settings - Fork 8
/
tox.ini
44 lines (37 loc) · 851 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 = py37,py38,pre-commit
tox_pip_extensions_ext_pip_custom_platform = true
tox_pip_extensions_ext_venv_update = true
requires =
tox<4
[testenv]
deps = -rrequirements-dev.txt
passenv = HOME SSH_AUTH_SOCK USER
commands =
coverage erase
python -m pytest --cov -n 4 -s tests {posargs}
python -m pytest -n 4 -s integration_tests {posargs}
[testenv:pre-commit]
basepython = python3.7
commands =
pre-commit {posargs:run --all-files}
[testenv:coverage]
basepython = python3.7
passenv =
{[testenv]passenv}
CODECOV_*
commands =
{[testenv]commands}
codecov
[testenv:venv]
basepython = python3.7
envdir = venv
commands =
[testenv:docs]
basepython = python3.7
deps = -rrequirements-docs.txt
commands = sphinx-build -b html docs/source docs/build/
[flake8]
max-line-length = 137
[pep8]
ignore = E265,E309,E501