-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
33 lines (28 loc) · 640 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
[tox]
minversion = 4.13.0
envlist = clean,py{312,311,310},ruff,black,report
skip_missing_interpreters = true
isolated_build = true
[testenv]
extras = testing
commands = python -m pytest --cov --cov-append {posargs}
[testenv:ruff]
skip_install = true
deps = ruff
commands = ruff check src/ tests/
[testenv:black]
skip_install = true
deps = black
commands = black --check src/ tests/
[testenv:clean]
skip_install = true
deps = {[testenv:report]deps}
commands = coverage erase
[testenv:report,py{312,311,310}-report]
skip_install = true
deps =
coverage
coverage-conditional-plugin
commands =
coverage html
coverage report