forked from pyparsing/pyparsing
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
51 lines (45 loc) · 1.28 KB
/
Copy pathtox.ini
File metadata and controls
51 lines (45 loc) · 1.28 KB
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
49
50
51
[tox]
skip_missing_interpreters=true
envlist =
py39-unit,py{310,311,312,313,314,314t,315,py3}-{unit,doctest},mypy-check
isolated_build = True
[testenv]
deps =
unit: pytest
unit: matplotlib; implementation_name != 'pypy' and python_version < '3.15'
doctest: sphinx
doctest: myst-parser
doctest: alabaster
extras = unit: diagrams
setenv =
PYTHONPATH = {env:PYTHONPATH}{:}{toxinidir}
commands =
unit: pytest tests examples/tiny/tests {posargs}
doctest: sphinx-build -b doctest docs docs/_build/doctest
allowlist_externals =
pytest
python
sphinx-build
[testenv:py314t-unit]
description = Run tests with the free-threaded Python 3.14 interpreter.
base_python = python3.14t
setenv =
PYTHON_GIL = 0
[testenv:py314t-doctest]
description = Run doctests with the free-threaded Python 3.14 interpreter.
base_python = python3.14t
setenv =
PYTHON_GIL = 0
[testenv:py315t-unit]
description = Run tests with the free-threaded Python 3.15 interpreter.
base_python = python3.15t
setenv =
PYTHON_GIL = 0
[testenv:py315t-doctest]
description = Run doctests with the free-threaded Python 3.15 interpreter.
base_python = python3.15t
setenv =
PYTHON_GIL = 0
[testenv:mypy-check]
deps = mypy
commands = mypy --show-error-codes --warn-unused-ignores pyparsing