mirror of
https://github.com/Benexl/FastAnime.git
synced 2025-12-06 04:41:06 -08:00
28 lines
456 B
INI
28 lines
456 B
INI
[tox]
|
|
requires =
|
|
tox>=4
|
|
env_list = lint, pyright, py{311,312}
|
|
|
|
[testenv]
|
|
description = run unit tests
|
|
deps =uv
|
|
commands =
|
|
uv sync --dev --all-extras
|
|
uv run pytest
|
|
|
|
[testenv:lint]
|
|
description = run linters
|
|
skip_install = true
|
|
deps =uv
|
|
commands =
|
|
uv sync --dev --all-extras
|
|
uv run ruff format .
|
|
|
|
[testenv:pyright]
|
|
description = run type checking
|
|
skip_install = true
|
|
deps =uv
|
|
commands =
|
|
uv sync --dev --all-extras
|
|
uv run pyright
|