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

Function get_config

monai/_version.py:39–50  ·  view source on GitHub ↗

Create, populate and return the VersioneerConfig() object.

()

Source from the content-addressed store, hash-verified

37
38
39def get_config():
40 """Create, populate and return the VersioneerConfig() object."""
41 # these strings are filled in when 'setup.py versioneer' creates
42 # _version.py
43 cfg = VersioneerConfig()
44 cfg.VCS = "git"
45 cfg.style = "pep440"
46 cfg.tag_prefix = ""
47 cfg.parentdir_prefix = ""
48 cfg.versionfile_source = "monai/_version.py"
49 cfg.verbose = False
50 return cfg
51
52
53class NotThisMethod(Exception):

Callers 1

get_versionsFunction · 0.85

Calls 1

VersioneerConfigClass · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…