-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
52 lines (46 loc) · 773 Bytes
/
tox.ini
File metadata and controls
52 lines (46 loc) · 773 Bytes
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
[tox]
min_version = 4.0
env_list =
py{39,310,311,312,313}
py313-full
lint
type
[testenv]
deps =
pytest>=8.0
pytest-cov>=5.0
commands =
pytest {posargs}
[testenv:py313-full]
deps =
{[testenv]deps}
lizard>=1.17
radon>=6.0
coverage[toml]>=7.0
commands =
pytest --cov=regix --cov-report=term-missing {posargs}
[testenv:lint]
deps =
ruff>=0.5.0
commands =
ruff check regix/ tests/
ruff format --check regix/ tests/
[testenv:type]
deps =
mypy>=1.0
types-PyYAML
commands =
mypy regix/
[testenv:regix]
deps =
{[testenv:py313-full]deps}
.[full]
commands =
regix check
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313, py313-full, lint, type