simplify tox config

envs inherit base testenv
This commit is contained in:
David Lord 2023-06-27 08:01:19 -07:00
parent 8d0ea74289
commit d80f186832
No known key found for this signature in database
GPG Key ID: 7A1C87E3F5BC42A8

View File

@ -19,13 +19,9 @@ skip_install = true
commands = pre-commit run --all-files
[testenv:typing]
package = wheel
wheel_build_env = .pkg
deps = -r requirements/typing.txt
commands = mypy
[testenv:docs]
package = wheel
wheel_build_env = .pkg
deps = -r requirements/docs.txt
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html