-
Notifications
You must be signed in to change notification settings - Fork 3
/
tox.ini
50 lines (43 loc) · 826 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
50
[tox]
envlist = flake8,check-manifest,black,yamllint,py3
[testenv]
deps =
pytest
extras = dev
commands =
{envpython} -m pytest {posargs:tdd/tests}
[testenv:flake8]
basepython = python3
skip_install = true
deps =
flake8 >= 4.0.1
commands = flake8
[testenv:check-manifest]
skip_install = true
deps =
check-manifest
commands =
{envpython} -m check_manifest {toxinidir}
[testenv:black]
basepython = python3
skip_install = true
deps =
black >= 21.11b1
commands = black --check .
[testenv:black-run]
basepython = python3
skip_install = true
deps =
black >= 21.11b1
commands = black .
[flake8]
basepython = python3
format = pylint
ignore = W503, E203, E731, E231
max-line-length = 100
exclude = test/data/*,.tox/*
[testenv:yamllint]
skip_install = true
deps = yamllint
commands =
yamllint docker-compose.yml