Repository URL to install this package:
Version:
1.0.8-2 ▾
|
wlanpi-profiler
/
opt
/
wlanpi-profiler
/
lib
/
python3.7
/
site-packages
/
tox
/
__pycache__
/
hookspecs.cpython-37.pyc
|
---|
B êUðâ9ã @ s d Z ddlZe d¡Zedd Zedd Zedd d d Zedd dd Zedd dd Zedd dd Z edd Z edd dd Zedd Zedd dd Z edd ZdS )z@Hook specifications for tox - see https://pluggy.readthedocs.io/é NZtoxc C s dS )z=add command line options to the argparse-style parser object.N© )Úparserr r ú/build/wlanpi-profiler-SHjkbd/wlanpi-profiler-1.0.8/debian/wlanpi-profiler/opt/wlanpi-profiler/lib/python3.7/site-packages/tox/hookspecs.pyÚ tox_addoption s r c C s dS )z§Called after command line options are parsed and ini-file has been read. Please be aware that the config object layout may change between major tox versions. Nr )Úconfigr r r Ú tox_configure s r T)Zfirstresultc C s dS )z^Return the package to be installed for the given venv. Called once for every environment.Nr )ÚsessionÚvenvr r r Útox_package s r c C s dS )a& 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. Nr )Z envconfigr r r Útox_get_python_executable s r c C s dS )aÊ Perform creation action for this venv. Some example usage: - To *add* behavior but still use tox's implementation to set up a virtualenv, implement this hook but do not return a value (or explicitly return ``None``). - To *override* tox's virtualenv creation, implement this hook and return a non-``None`` value. .. note:: This api is experimental due to the unstable api of :class:`tox.venv.VirtualEnv`. .. note:: This hook uses ``firstresult=True`` (see `pluggy first result only`_) -- hooks implementing this will be run until one returns non-``None``. .. _`pluggy first result only`: https://pluggy.readthedocs.io/en/latest/#first-result-only Nr )r Úactionr r r Útox_testenv_create' s r c C s dS )aÄ Perform install dependencies action for this venv. Some example usage: - To *add* behavior but still use tox's implementation to install dependencies, implement this hook but do not return a value (or explicitly return ``None``). One use-case may be to install (or ensure) non-python dependencies such as debian packages. - To *override* tox's installation of dependencies, implement this hook and return a non-``None`` value. One use-case may be to install via a different installation tool such as `pip-accel`_ or `pip-faster`_. .. note:: This api is experimental due to the unstable api of :class:`tox.venv.VirtualEnv`. .. note:: This hook uses ``firstresult=True`` (see `pluggy first result only`_) -- hooks implementing this will be run until one returns non-``None``. .. _pip-accel: https://github.com/paylogic/pip-accel .. _pip-faster: https://github.com/Yelp/venv-update Nr )r r r r r Útox_testenv_install_deps= s r c C s dS )zPerform arbitrary action before running tests for this venv. This could be used to indicate that tests for a given venv have started, for instance. Nr )r r r r Útox_runtest_preV s r c C s dS )zÅRun the tests for this venv. .. note:: This hook uses ``firstresult=True`` (see `pluggy first result only`_) -- hooks implementing this will be run until one returns non-``None``. Nr )r Úredirectr r r Útox_runtest^ s r c C s dS )zPerform arbitrary action after running tests for this venv. This could be used to have per-venv test reporting of pass/fail status. Nr )r r r r Útox_runtest_postg s r c C s dS )zºGet the installed packages and versions in this venv. This could be used for alternative (ie non-pip) package managers, this plugin should return a ``list`` of type ``str`` Nr )r r r r r Útox_runenvreporto s r c C s dS )zQCalled just before the session is destroyed, allowing any final cleanup operationNr )r r r r Útox_cleanupx s r )Ú__doc__ZpluggyZHookspecMarkerZhookspecr r r r r r r r r r r r r r r Ú<module> s