File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 5858
5959@contextmanager
6060def append_to_sys_path (path : PathLike ):
61+ """
62+ Append ``path`` to :py:obj:`sys.path` for the scope of the :keyword:`with` block.
63+
64+ :param path:
65+ """
66+
6167 path = os .fspath (path )
6268
6369 if path in sys .path :
@@ -74,7 +80,7 @@ def append_to_sys_path(path: PathLike):
7480
7581
7682@hookimpl
77- def tox_testenv_create (venv : VirtualEnv , action : Action ) -> None :
83+ def tox_testenv_create (venv : VirtualEnv , action : Action ) -> None : # noqa: D103
7884 envconfig : TestenvConfig = venv .envconfig
7985 config : Config = envconfig .config
8086 toxinidir = config .toxinidir
Original file line number Diff line number Diff line change 22#
33# hooks.py
44"""
5- Built in hooks for ``tox-recreate-hook`.
5+ Built in hooks for ``tox-recreate-hook`` .
66
77These are exposed via the ``builtin`` pseudo-module.
88"""
You can’t perform that action at this time.
0 commit comments