Call regendoc tool to update examples and pytest output in the docs.
(version: str)
| 77 | |
| 78 | |
| 79 | def 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 | |
| 88 | def fix_formatting() -> None: |
no test coverage detected