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

Function regen

scripts/release.py:79–85  ·  view source on GitHub ↗

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 """Call regendoc tool to update examples and pytest output in the docs."""
81 print(f"{Fore.CYAN}[generate.regen] {Fore.RESET}Updating docs")
82 check_call(
83 ["tox", "-e", "regen"],
84 env={**os.environ, "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

Used in the wild real call sites across dependent graphs

searching dependent graphs…