MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / plus_or_dot

Function plus_or_dot

versioneer.py:1428–1432  ·  view source on GitHub ↗

Return a + if we don't already have one, else return a .

(pieces)

Source from the content-addressed store, hash-verified

1426
1427
1428def plus_or_dot(pieces):
1429 """Return a + if we don't already have one, else return a ."""
1430 if "+" in pieces.get("closest-tag", ""):
1431 return "."
1432 return "+"
1433
1434
1435def render_pep440(pieces):

Callers 4

render_pep440Function · 0.70
render_pep440_branchFunction · 0.70
render_pep440_postFunction · 0.70

Calls 1

getMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…