MCPcopy Create free account
hub / github.com/dot-agent/nextpy / get_above_max_version

Function get_above_max_version

tests/utils/test_utils.py:31–40  ·  view source on GitHub ↗

Get the 1 version above the max required bun version. Returns: max bun version plus one.

()

Source from the content-addressed store, hash-verified

29
30
31def get_above_max_version():
32 """Get the 1 version above the max required bun version.
33
34 Returns:
35 max bun version plus one.
36
37 """
38 semantic_version_list = constants.Bun.VERSION.split(".")
39 semantic_version_list[-1] = str(int(semantic_version_list[-1]) + 1) # type: ignore
40 return ".".join(semantic_version_list)
41
42
43V055 = version.parse("0.5.5")

Callers 1

test_utils.pyFile · 0.85

Calls 2

splitMethod · 0.80
joinMethod · 0.80

Tested by

no test coverage detected