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

Method questions

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

Source from the content-addressed store, hash-verified

497
498class ValidationCz(BaseCommitizen):
499 def questions(self) -> list[CzQuestion]:
500 return [
501 {"type": "input", "name": "commit", "message": "Initial commit:\n"},
502 {"type": "input", "name": "issue_nb", "message": "ABC-123"},
503 ]
504
505 def message(self, answers: Mapping[str, Any]) -> str:
506 return f"{answers['issue_nb']}: {answers['commit']}"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected