Pillow/tox.ini
2023-05-01 19:16:03 +00:00

32 lines
549 B
INI

[tox]
requires =
tox>=4.2
env_list =
lint
py{py3, 311, 310, 39, 38}
[testenv]
deps =
cffi
numpy
extras =
tests
commands =
make clean
{envpython} -m pip install --global-option="build_ext" --global-option="--inplace" .
{envpython} selftest.py
{envpython} -m pytest -W always {posargs}
allowlist_externals =
make
[testenv:lint]
skip_install = true
deps =
check-manifest
pre-commit
pass_env =
PRE_COMMIT_COLOR
commands =
pre-commit run --all-files --show-diff-on-failure
check-manifest