colipri / tox.ini
fepegar's picture
Stop running tests on Python 3.14
f69161b
Raw
History Blame Contribute Delete
749 Bytes
[tox]
requires =
tox>=4.22
tox-uv>=1.13
env_list =
py310
py311
py312
py313
lint
format
typecheck
[testenv]
description = Run the test suite with pytest
runner = uv-venv-lock-runner
dependency_groups = dev
commands =
pytest {posargs}
[testenv:lint]
description = Lint the code with ruff
runner = uv-venv-runner
skip_install = true
dependency_groups =
deps =
ruff
commands =
ruff check src tests
[testenv:format]
description = Check formatting with ruff
runner = uv-venv-runner
skip_install = true
dependency_groups =
deps =
ruff
commands =
ruff format --check src tests
[testenv:typecheck]
description = Type-check the code with ty
dependency_groups =
types
commands =
ty check src