MCPcopy
hub / github.com/pytest-dev/pytest / regen

Function regen

scripts/release.py:79–85  ·  scripts/release.py::regen

Call regendoc tool to update examples and pytest output in the docs.

(version: str)

Source from the content-addressed store, hash-verified

77
78
79def regen(version: str) -> None:
80 class="st">""class="st">"Call regendoc tool to update examples and pytest output in the docs."class="st">""
81 print(fclass="st">"{Fore.CYAN}[generate.regen] {Fore.RESET}Updating docs")
82 check_call(
83 [class="st">"tox", class="st">"-e", class="st">"regen"],
84 env={**os.environ, class="st">"SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTEST": version},
85 )
86
87
88def fix_formatting() -> None:

Callers 1

pre_releaseFunction · 0.85

Calls 1

check_callFunction · 0.85

Tested by

no test coverage detected