-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtox.ini
More file actions
24 lines (22 loc) · 557 Bytes
/
Copy pathtox.ini
File metadata and controls
24 lines (22 loc) · 557 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
[tox]
envlist = py{311,312,313,314},pre-commit
skipsdist = True
[gh-actions]
python =
3.11: py311
3.12: py312
3.13: py313
3.14: py314
[testenv]
runner = uv-venv-lock-runner
description = run unit tests and type checker via mypy
with_dev = True
commands =
uv run pytest --cov=flunt --cov-report=xml --cov-config=tox.ini --cov-branch
uv run mypy flunt tests
[testenv:pre-commit]
runner = uv-venv-lock-runner
description = run checker pre commit
with_dev = True
commands =
uv run pre-commit run --all-files --show-diff-on-failure