MCPcopy Index your code
hub / github.com/praw-dev/praw / main

Function main

tools/set_version.py:59–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57
58
59def main():
60 if len(sys.argv) != 2:
61 sys.stderr.write(f"Usage: {sys.argv[0]} VERSION\n")
62 return 1
63 if sys.argv[1] == "Unreleased":
64 return not handle_unreleased()
65 return not handle_version(sys.argv[1])
66
67
68def update_changelog(version):

Callers 1

set_version.pyFile · 0.70

Calls 2

handle_unreleasedFunction · 0.85
handle_versionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…