-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
49 lines (43 loc) · 950 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
45
46
47
48
49
[tox]
minversion = 1.6
envlist = linters
skipsdist = True
[testenv]
passenv =
http_proxy
HTTP_PROXY
https_proxy
HTTPS_PROXY
no_proxy
NO_PROXY
basepython = python3
install_command = pip install {opts} {packages}
deps =
-r{toxinidir}/test-requirements.txt
[testenv:linters]
allowlist_externals = bash
setenv =
deps =
-r{toxinidir}/linters-requirements.txt
commands =
flake8 tools
yamllint -s -f parsable . -vv
[testenv:venv]
commands = {posargs}
[flake8]
ignore = E124,E125,E129,E252,E402,E741,E501,W503,W504,H
show-source = True
exclude =
.venv,
.tox,
dist,
doc,
build,
*.egg,
[testenv:bindep]
# Do not install any requirements. We want this to be fast and work even if
# system dependencies are missing, since it's used to tell you what system
# dependencies are missing! This also means that bindep must be installed
# separately, outside of the requirements files.
deps = bindep
commands = bindep test