(experimental) Allows hooks to be defined which are called when recreating a tox testenv.
Project description
(experimental) Allows hooks to be defined which are called when recreating a tox testenv.
Docs |
|
---|---|
Tests |
|
PyPI |
|
Activity |
|
QA |
|
Other |
Installation
tox-recreate-hook can be installed from PyPI.
To install with pip:
$ python -m pip install tox-recreate-hook
Example configuration
[testenv:docs]
setenv = SHOW_TODOS = 1
basepython = python3.8
changedir = {toxinidir}/doc-source
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc-source/requirements.txt
commands = sphinx-build -M html . ./build {posargs}
recreate_hook = builtin.rmdir("{toxinidir}/doc-source/build")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for tox_recreate_hook-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39c39e515e5b47d9f6403fd3a1d68223ef9b4b3179281c6acb67f301807da912 |
|
MD5 | 41e273dd69ac0dff2176e06b1ebd53a1 |
|
BLAKE2b-256 | 62db57c93737419b9f851bbb614da993a7c63d8f4e2ed5ccea12a4eaa632dd31 |