mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
30 lines
540 B
INI
30 lines
540 B
INI
[tox]
|
|
envlist =
|
|
lint
|
|
py{py3, 311, 310, 39, 38, 37}
|
|
minversion = 1.9
|
|
|
|
[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]
|
|
passenv =
|
|
PRE_COMMIT_COLOR
|
|
skip_install = true
|
|
deps =
|
|
check-manifest
|
|
pre-commit
|
|
commands =
|
|
pre-commit run --all-files --show-diff-on-failure
|
|
check-manifest
|