python-click/tox.ini

25 lines
533 B
INI
Raw Permalink Normal View History

2018-09-06 20:55:10 +02:00
[tox]
2019-01-07 17:51:19 +01:00
envlist =
2022-11-30 09:52:01 +01:00
py3{11,10,9,8,7},pypy3{8,7}
2020-07-21 08:23:42 +02:00
style
2021-10-10 03:31:57 +02:00
typing
2020-07-21 08:23:42 +02:00
docs
2019-01-07 17:51:19 +01:00
skip_missing_interpreters = true
2018-09-06 20:55:10 +02:00
[testenv]
2021-10-10 03:31:57 +02:00
deps = -r requirements/tests.txt
commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs}
2018-09-06 20:55:10 +02:00
2020-07-21 08:23:42 +02:00
[testenv:style]
deps = pre-commit
2018-09-06 20:55:10 +02:00
skip_install = true
2020-07-21 08:23:42 +02:00
commands = pre-commit run --all-files --show-diff-on-failure
2018-09-06 20:55:10 +02:00
2021-10-10 03:31:57 +02:00
[testenv:typing]
deps = -r requirements/typing.txt
commands = mypy
2020-07-21 08:23:42 +02:00
[testenv:docs]
2021-10-10 03:31:57 +02:00
deps = -r requirements/docs.txt
2020-07-21 08:23:42 +02:00
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html