-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
49 lines (43 loc) · 808 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]
envlist =
clean
py{312,311}
codespell
mypy
ruff
coverage
[testenv]
deps =
pytest
pytest-cov
watchdog
depends =
{py312,py311,py310}: clean
coverage: py312,py311,py310
commands = pytest --cov=python_package_publish --cov-append
[testenv:coverage]
deps = coverage
skip_install = true
commands =
coverage report --fail-under=76
coverage html
coverage lcov
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase
[testenv:codespell]
deps = codespell
skip_install = true
commands = codespell python_package_publish
[testenv:mypy]
deps =
pytest
mypy
types-toml
skip_install = true
commands = mypy --install-types --non-interactive .
[testenv:ruff]
deps = ruff
skip_install = true
commands = ruff check --no-fix .