-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtox.ini
49 lines (44 loc) · 803 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]
requires =
tox >= 4
envlist =
lint
typecheck
py313
py312
py311
py310
[testenv]
description = Attempt to build and install the package
groups = dev
deps =
pytest>=7.4.3
commands =
pytest
[testenv:coverage]
groups = dev
deps =
coverage>=7.3.2
allowlist_externals = coverage
commands =
coverage run --source=sylva --module pytest
coverage report --show-missing
[testenv:typecheck]
description = Static type checking
groups = dev
package = editable # install-in-place for relative-uri based module exclusion
commands =
mypy .
[testenv:lint]
description = Lint with Ruff
groups = lint
skip_install = true
allowlist_externals = ruff
commands =
ruff check
[gh-actions]
python =
3.13: py313
3.12: py312
3.11: py311
3.10: py310