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

Method _ask_update_changelog_on_bump

commitizen/commands/init.py:316–323  ·  view source on GitHub ↗

Ask for setting: update_changelog_on_bump

(self)

Source from the content-addressed store, hash-verified

314 return major_version_zero
315
316 def _ask_update_changelog_on_bump(self) -> bool:
317 """Ask for setting: update_changelog_on_bump"""
318 update_changelog_on_bump: bool = questionary.confirm(
319 "Create changelog automatically on bump",
320 default=True,
321 auto_enter=True,
322 ).unsafe_ask()
323 return update_changelog_on_bump
324
325 def _get_config_data(self) -> dict[str, Any]:
326 CZ_HOOK_CONFIG = {

Callers 1

__call__Method · 0.95

Calls 1

unsafe_askMethod · 0.80

Tested by

no test coverage detected