simplify tox config
envs inherit base testenv
This commit is contained in:
parent
8d0ea74289
commit
d80f186832
4
tox.ini
4
tox.ini
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user