Pillow/tox.ini

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

47 lines
758 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 =
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 =
-r .ci/requirements-mypy.txt
2024-02-10 11:50:45 +03:00
IceSpringPySideStubs-PyQt6
IceSpringPySideStubs-PySide6
2024-01-13 06:40:59 +03:00
ipython
numpy
2024-02-10 11:50:45 +03:00
packaging
types-defusedxml
2024-02-17 12:21:25 +03:00
types-olefile
extras =
typing
commands =
mypy src {posargs}