Skip to content

Commit e9893f9

Browse files
Create tox.ini
Co-authored-by: LeAndre <lcjunior1220@gmail.com>
1 parent 8daeede commit e9893f9

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

tox.ini

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
[tox]
2+
envlist = lint, format, manifest, coverage, py{310,311,312,313,314,314t}
3+
4+
[gh-actions]
5+
python =
6+
3.10: py310
7+
3.11: py311
8+
3.12: py312
9+
3.13: py313
10+
3.14: py314
11+
3.14t: py314t
12+
13+
[testenv]
14+
deps =
15+
pytest
16+
pytest-cov
17+
sh >= 2.0.2, <3
18+
click
19+
commands =
20+
pytest --cov --cov-report=term-missing {posargs}
21+
22+
[testenv:lint]
23+
skip_install = true
24+
deps =
25+
ruff
26+
mypy
27+
commands =
28+
ruff check src tests
29+
ruff format --check src tests
30+
mypy --python-version=3.14 src tests
31+
mypy --python-version=3.13 src tests
32+
mypy --python-version=3.12 src tests
33+
mypy --python-version=3.11 src tests
34+
mypy --python-version=3.10 src tests
35+
36+
[testenv:format]
37+
skip_install = true
38+
deps = ruff
39+
commands = ruff format src tests
40+
41+
[testenv:manifest]
42+
skip_install = true
43+
deps = check-manifest
44+
commands = check-manifest
45+
46+
[testenv:coverage]
47+
skip_install = true
48+
deps = coverage
49+
commands =
50+
coverage report

0 commit comments

Comments
 (0)