contextlib2/tox.ini

25 lines
509 B
INI
Raw Normal View History

2016-01-12 08:51:30 +00:00
[tox]
2022-12-23 10:27:46 +00:00
envlist = py{36,37,38,39,3_10,3_11,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
2021-06-27 06:09:59 +00:00
!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.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py3_10
2022-12-23 10:27:46 +00:00
3.11: py3_11
2020-11-23 14:57:55 +00:00
pypy3: pypy3