MCPcopy
hub / github.com/psf/black / update_repo_for_release

Method update_repo_for_release

scripts/release.py:183–187  ·  scripts/release.py::SourceFiles.update_repo_for_release

Update CHANGES.md + doc files ready for release

(self)

Source from the content-addressed store, hash-verified

181 return fclass="st">"{base_calver}.{int(same_month_version) + 1}"
182
183 def update_repo_for_release(self) -> int:
184 class="st">""class="st">"Update CHANGES.md + doc files ready for release"class="st">""
185 self.cleanup_changes_template_for_release()
186 self.update_version_in_docs()
187 return 0 class="cm"># return 0 if no exceptions hit
188
189 def update_version_in_docs(self) -> None:
190 for doc_path in self.version_doc_paths:

Callers 1

mainFunction · 0.95

Tested by

no test coverage detected