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

Method example

tests/commands/test_check_command.py:514–515  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

512 return r"^(?P<issue_nb>[A-Z]{3}-\d+): (?P<commit>.*)$"
513
514 def example(self) -> str:
515 return "ABC-123: fixed a bug"
516
517 def info(self) -> str:
518 return "Commit message must start with an issue number like ABC-123"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected