Pillow/tox.ini
2025-12-28 23:46:02 +02:00

35 lines
578 B
INI

[tox]
requires =
tox>=4.2
env_list =
lint
mypy
py{py3, 315, 314, 313, 312, 311, 310}
[testenv]
deps =
numpy
extras =
tests
commands =
{envpython} selftest.py
{envpython} -m pytest -W always {posargs}
[testenv:lint]
skip_install = true
deps =
check-manifest
prek
pass_env =
PREK_COLOR
commands =
prek run --all-files --show-diff-on-failure
check-manifest
[testenv:mypy]
skip_install = true
deps =
-r .ci/requirements-mypy.txt
commands =
mypy conftest.py selftest.py setup.py checks docs src winbuild Tests {posargs}