Skip to content

Commit fab358e

Browse files
authored
Properly document the tox_env_teardown hook (#3333)
1 parent 8d0a47c commit fab358e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/changelog/3305.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Changes the ``tox_env_teardown`` docstring to explain the hook is called after a tox env was teared down.

src/tox/plugin/spec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def tox_on_install(tox_env: ToxEnv, arguments: Any, section: str, of_type: str)
9494
@_spec
9595
def tox_env_teardown(tox_env: ToxEnv) -> None: # noqa: ARG001
9696
"""
97-
Called before executing an installation command.
97+
Called after a tox environment has been teared down.
9898
9999
:param tox_env: the tox environment
100100
"""

0 commit comments

Comments
 (0)