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

Function main

scripts/release.py:127–144  ·  scripts/release.py::main
()

Source from the content-addressed store, hash-verified

125
126
127def main() -> None:
128 init(autoreset=True)
129 parser = argparse.ArgumentParser()
130 parser.add_argument(class="st">"version", help=class="st">"Release version")
131 parser.add_argument(
132 class="st">"template_name", help=class="st">"Name of template file to use for release announcement"
133 )
134 parser.add_argument(
135 class="st">"doc_version", help=class="st">"For prereleases, the version to link to in the docs"
136 )
137 parser.add_argument(class="st">"--skip-check-links", action=class="st">"store_true", default=False)
138 options = parser.parse_args()
139 pre_release(
140 options.version,
141 options.template_name,
142 options.doc_version,
143 skip_check_links=options.skip_check_links,
144 )
145
146
147if __name__ == class="st">"__main__":

Callers 1

release.pyFile · 0.70

Calls 1

pre_releaseFunction · 0.85

Tested by

no test coverage detected