MCPcopy Create free account
hub / github.com/pytest-dev/pytest / regen

Function regen

scripts/release.py:64–70  ·  view source on GitHub ↗

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

(version)

Source from the content-addressed store, hash-verified

62
63
64def regen(version):
65 """Call regendoc tool to update examples and pytest output in the docs."""
66 print(f"{Fore.CYAN}[generate.regen] {Fore.RESET}Updating docs")
67 check_call(
68 ["tox", "-e", "regen"],
69 env={**os.environ, "SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTEST": version},
70 )
71
72
73def fix_formatting():

Callers 1

pre_releaseFunction · 0.85

Calls 1

check_callFunction · 0.85

Tested by

no test coverage detected