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

Method __init__

commitizen/config/base_config.py:19–21  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

17
18class BaseConfig:
19 def __init__(self) -> None:
20 self._settings: Settings = DEFAULT_SETTINGS.copy()
21 self._path: Path | None = None
22
23 def contains_commitizen_section(self) -> bool:
24 """Check if the config file contains a commitizen section.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected