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

Class Example

commitizen/commands/example.py:5–13  ·  view source on GitHub ↗

Show an example so people understands the rules.

Source from the content-addressed store, hash-verified

3
4
5class Example:
6 """Show an example so people understands the rules."""
7
8 def __init__(self, config: BaseConfig, *args: object) -> None:
9 self.config: BaseConfig = config
10 self.cz = factory.committer_factory(self.config)
11
12 def __call__(self) -> None:
13 out.write(self.cz.example())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected