forked from eiffel-community/etos-environment-provider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
34 lines (30 loc) · 699 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
[tox]
envlist = py3,black,pylint,pydocstyle
[testenv]
setenv =
ETOS_ENABLE_SENDING_LOGS=false
ETOS_GRAPHQL_SERVER=http://localhost/no
ETOS_API=http://localhost/nah
ETOS_ENVIRONMENT_PROVIDER=http://localhost/nuhuh
ETOS_NAMESPACE=something
deps =
-r{toxinidir}/test-requirements.txt
commands =
pytest -s --log-format="%(levelname)s: %(message)s" {posargs}
[testenv:black]
deps =
black
commands =
black --check --diff -l 100 .
[testenv:pylint]
deps =
pylint
-r{toxinidir}/test-requirements.txt
commands =
pylint -d duplicate-code src/environment_provider tests
[testenv:pydocstyle]
deps =
pydocstyle
tomli
commands =
pydocstyle src tests