Pillow/tox.ini

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
621 B
INI
Raw Normal View History

[tox]
requires =
tox>=4.2
env_list =
lint
2023-07-12 16:31:45 +03:00
py{py3, 312, 311, 310, 39, 38}
[testenv]
2022-12-13 19:04:30 +03:00
deps =
cffi
numpy
extras =
tests
commands =
make clean
2023-05-20 08:19:58 +03:00
{envpython} -m pip install .
2013-03-07 18:06:51 +04:00
{envpython} selftest.py
2020-01-27 04:30:27 +03:00
{envpython} -m pytest -W always {posargs}
2023-04-03 23:08:23 +03:00
allowlist_externals =
make
[testenv:lint]
2022-12-13 19:04:30 +03:00
skip_install = true
deps =
2022-12-13 19:04:30 +03:00
check-manifest
2020-02-05 18:59:04 +03:00
pre-commit
pass_env =
2023-04-03 23:08:23 +03:00
PRE_COMMIT_COLOR
2022-12-13 19:04:30 +03:00
commands =
pre-commit run --all-files --show-diff-on-failure
check-manifest
2023-06-30 18:50:18 +03:00
[testenv:mypy]
skip_install = true
deps =
mypy==1.7.1
numpy
2023-06-30 18:50:18 +03:00
commands =
mypy src {posargs}
extras =
typing