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

Method __init__

commitizen/cz/base.py:76–79  ·  view source on GitHub ↗
(self, config: BaseConfig)

Source from the content-addressed store, hash-verified

74 template_extras: dict[str, Any] = {}
75
76 def __init__(self, config: BaseConfig) -> None:
77 self.config = config
78 if not self.config.settings.get("style"):
79 self.config.settings.update({"style": BaseCommitizen.default_style_config})
80
81 @abstractmethod
82 def questions(self) -> list[CzQuestion]:

Callers

nothing calls this directly

Calls 2

updateMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected