(self, config: BaseConfig, arguments: CommitArgs)
| 46 | """Show prompt for the user to create a guided commit.""" |
| 47 | |
| 48 | def __init__(self, config: BaseConfig, arguments: CommitArgs) -> None: |
| 49 | if not git.is_git_project(): |
| 50 | raise NotAGitProjectError() |
| 51 | |
| 52 | self.config: BaseConfig = config |
| 53 | self.cz = factory.committer_factory(self.config) |
| 54 | self.arguments = arguments |
| 55 | self.backup_file_path = get_backup_file_path() |
| 56 | |
| 57 | def _read_backup_message(self) -> str | None: |
| 58 | # Check the commit backup file exists |
nothing calls this directly
no test coverage detected