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

Method __init__

commitizen/commands/init.py:83–85  ·  view source on GitHub ↗
(self, config: BaseConfig, *args: object)

Source from the content-addressed store, hash-verified

81 _PRE_COMMIT_CONFIG_PATH = ".pre-commit-config.yaml"
82
83 def __init__(self, config: BaseConfig, *args: object) -> None:
84 self.config: BaseConfig = config
85 self.cz = factory.committer_factory(self.config)
86
87 def __call__(self) -> None:
88 if self.config.path:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected