contextlib2/tox.ini

25 lines
580 B
INI
Raw Permalink Normal View History

2016-01-12 08:51:30 +00:00
[tox]
# Python 3.8 is the first version with positional-only argument syntax support
envlist = py{38,39,3.10,3.11,3.12,py3}
2016-04-17 09:06:48 +00:00
skip_missing_interpreters = True
2016-01-12 08:51:30 +00:00
[testenv]
2016-07-26 12:36:15 +00:00
commands =
coverage run -m unittest discover -t . -s test
2016-07-26 12:36:15 +00:00
coverage report
2020-11-23 15:06:51 +00:00
coverage xml
2021-06-26 12:12:55 +00:00
# mypy won't install on PyPy, so only run the typechecking on CPython
!pypy3: python -m mypy.stubtest --allowlist dev/mypy.allowlist contextlib2
2016-07-26 12:36:15 +00:00
deps =
coverage
2021-06-26 12:12:55 +00:00
!pypy3: mypy
2020-11-23 14:57:55 +00:00
[gh-actions]
python =
3.8: py38
3.9: py39
2024-05-22 10:54:41 +00:00
3.10: py3.10
3.11: py3.11
3.12: py3.12
pypy-3.10: pypy3