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

Function main

scripts/release.py:110–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108
109
110def main():
111 init(autoreset=True)
112 parser = argparse.ArgumentParser()
113 parser.add_argument("version", help="Release version")
114 parser.add_argument(
115 "template_name", help="Name of template file to use for release announcement"
116 )
117 parser.add_argument(
118 "doc_version", help="For prereleases, the version to link to in the docs"
119 )
120 parser.add_argument("--skip-check-links", action="store_true", default=False)
121 options = parser.parse_args()
122 pre_release(
123 options.version,
124 options.template_name,
125 options.doc_version,
126 skip_check_links=options.skip_check_links,
127 )
128
129
130if __name__ == "__main__":

Callers 1

release.pyFile · 0.70

Calls 2

pre_releaseFunction · 0.85
parse_argsMethod · 0.80

Tested by

no test coverage detected