Pillow/tox.ini
Hugo van Kemenade 51bd7d2ea8
Drop support for Python 3.8 (#8183)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-07-03 00:44:45 -06:00

47 lines
759 B
INI

[tox]
requires =
tox>=4.2
env_list =
lint
py{py3, 313, 312, 311, 310, 39}
[testenv]
deps =
numpy
extras =
tests
commands =
make clean
{envpython} -m pip install .
{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
[testenv:mypy]
skip_install = true
deps =
-r .ci/requirements-mypy.txt
IceSpringPySideStubs-PyQt6
IceSpringPySideStubs-PySide6
ipython
numpy
packaging
types-defusedxml
types-olefile
extras =
typing
commands =
mypy src {posargs}