-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
71 lines (62 loc) · 1.09 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[tox]
envlist =
clean
py{312,311,310}
black
codespell
flake8
mypy
refurb
ruff
coverage
[testenv]
deps =
pytest
pytest-cov
watchdog
depends =
{py312,py311,py310}: clean
coverage: py312,py311,py310
commands = pytest --cov=autopytest --cov-append
[testenv:coverage]
deps = coverage
skip_install = true
commands =
coverage report --fail-under=76
coverage html
coverage lcov
[testenv:black]
deps = black
skip_install = true
commands = black --check --diff --color .
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase
[testenv:codespell]
deps = codespell
skip_install = true
commands = codespell .
[testenv:flake8]
deps =
flake8
Flake8-pyproject
flake8-cognitive-complexity
skip_install = true
commands = flake8 --max-cognitive-complexity=5 .
[testenv:mypy]
deps =
pytest
mypy
watchdog
types-toml
skip_install = true
commands = mypy .
[testenv:refurb]
deps = refurb
skip_install = true
commands = refurb .
[testenv:ruff]
deps = ruff
skip_install = true
commands = ruff check --no-fix .