MCPcopy Create free account
hub / github.com/commitizen-tools/commitizen / get_default_config_filename

Function get_default_config_filename

commitizen/project_info.py:52–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50
51
52def get_default_config_filename() -> Literal["pyproject.toml", ".cz.toml"]:
53 return "pyproject.toml" if Path("pyproject.toml").is_file() else ".cz.toml"
54
55
56def get_default_version_scheme() -> Literal["pep440", "semver2"]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected