forked from python-pillow/Pillow
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtox.ini
More file actions
39 lines (36 loc) · 664 Bytes
/
tox.ini
File metadata and controls
39 lines (36 loc) · 664 Bytes
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
[tox]
requires =
tox>=4.2
env_list =
lint
mypy
py{py3, 315, 314, 313, 312, 311, 310}
[testenv]
deps =
numpy
pytest-sugar
extras =
tests
commands =
{envpython} selftest.py
{envpython} -m pytest \
--dist worksteal \
--numprocesses auto \
-W always \
{posargs}
[testenv:lint]
skip_install = true
deps =
check-manifest
prek
pass_env =
PREK_COLOR
commands =
prek run --all-files --show-diff-on-failure
check-manifest
[testenv:mypy]
skip_install = true
deps =
-r .ci/requirements-mypy.txt
commands =
mypy conftest.py selftest.py setup.py checks docs src winbuild Tests {posargs}