summaryrefslogtreecommitdiff
path: root/tox/hookspecs.py
diff options
context:
space:
mode:
authorRonny Pfannschmidt <opensource@ronnypfannschmidt.de>2016-09-17 20:30:13 +0200
committerRonny Pfannschmidt <opensource@ronnypfannschmidt.de>2016-09-17 20:30:13 +0200
commit07fdce28e407b0ec10b5fee682f134550eae335b (patch)
tree74baed3d9a1daa2ecd8d4bb3f00ff1e47c9f88d4 /tox/hookspecs.py
parent2237fc53240f8892577b3a54016dfcfe8be7fd56 (diff)
downloadtox-master.tar.gz
clean out source files and link to new repoHEADmaster
Diffstat (limited to 'tox/hookspecs.py')
-rw-r--r--tox/hookspecs.py59
1 files changed, 0 insertions, 59 deletions
diff --git a/tox/hookspecs.py b/tox/hookspecs.py
deleted file mode 100644
index 22e231d..0000000
--- a/tox/hookspecs.py
+++ /dev/null
@@ -1,59 +0,0 @@
-""" Hook specifications for tox.
-
-"""
-
-from pluggy import HookspecMarker, HookimplMarker
-
-hookspec = HookspecMarker("tox")
-hookimpl = HookimplMarker("tox")
-
-
-@hookspec
-def tox_addoption(parser):
- """ add command line options to the argparse-style parser object."""
-
-
-@hookspec
-def tox_configure(config):
- """ called after command line options have been parsed and the ini-file has
- been read. Please be aware that the config object layout may change as its
- API was not designed yet wrt to providing stability (it was an internal
- thing purely before tox-2.0). """
-
-
-@hookspec(firstresult=True)
-def tox_get_python_executable(envconfig):
- """ return a python executable for the given python base name.
- The first plugin/hook which returns an executable path will determine it.
-
- ``envconfig`` is the testenv configuration which contains
- per-testenv configuration, notably the ``.envname`` and ``.basepython``
- setting.
- """
-
-
-@hookspec
-def tox_testenv_create(venv, action):
- """ [experimental] perform creation action for this venv.
- """
-
-
-@hookspec
-def tox_testenv_install_deps(venv, action):
- """ [experimental] perform install dependencies action for this venv. """
-
-
-@hookspec
-def tox_runtest_pre(venv):
- """ [experimental] perform arbitrary action before running tests for this venv.
-
- This could be used to indicate that tests for a given venv have started, for instance.
- """
-
-
-@hookspec
-def tox_runtest_post(venv):
- """ [experimental] perform arbitrary action after running tests for this venv.
-
- This could be used to have per-venv test reporting of pass/fail status.
- """