mirror of
https://github.com/Benexl/FastAnime.git
synced 2025-12-05 20:40:09 -08:00
28 lines
448 B
INI
28 lines
448 B
INI
[tox]
|
|
requires =
|
|
tox>=4
|
|
env_list = lint, pyright, py{310,311}
|
|
|
|
[testenv]
|
|
description = run unit tests
|
|
deps =poetry
|
|
commands =
|
|
poetry install
|
|
poetry run pytest
|
|
|
|
[testenv:lint]
|
|
description = run linters
|
|
skip_install = true
|
|
deps =poetry
|
|
commands =
|
|
poetry install
|
|
poetry run black .
|
|
|
|
[testenv:pyright]
|
|
description = run type checking
|
|
skip_install = true
|
|
deps =poetry
|
|
commands =
|
|
poetry install --no-root
|
|
poetry run pyright
|