forked from python-pillow/Pillow
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
48 lines (45 loc) · 782 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[tox]
requires =
tox>=4.2
env_list =
lint
py{py3, 312, 311, 310, 39, 38}
[testenv]
deps =
cffi
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-cffi
types-defusedxml
types-olefile
extras =
typing
commands =
mypy src {posargs}