MCPcopy Index your code
hub / github.com/commitizen-tools/commitizen / __init__

Method __init__

commitizen/config/yaml_config.py:24–27  ·  view source on GitHub ↗
(self, *, data: bytes | str, path: Path)

Source from the content-addressed store, hash-verified

22
23class YAMLConfig(BaseConfig):
24 def __init__(self, *, data: bytes | str, path: Path) -> None:
25 super().__init__()
26 self.path = path
27 self._parse_setting(data)
28
29 def init_empty_config_content(self) -> None:
30 with smart_open(

Callers

nothing calls this directly

Calls 1

_parse_settingMethod · 0.95

Tested by

no test coverage detected