MCPcopy Index your code
hub / github.com/commitizen-tools/commitizen / _ask_update_changelog_on_bump

Method _ask_update_changelog_on_bump

commitizen/commands/init.py:284–291  ·  view source on GitHub ↗

Ask for setting: update_changelog_on_bump

(self)

Source from the content-addressed store, hash-verified

282 return major_version_zero
283
284 def _ask_update_changelog_on_bump(self) -> bool:
285 """Ask for setting: update_changelog_on_bump"""
286 update_changelog_on_bump: bool = questionary.confirm(
287 "Create changelog automatically on bump",
288 default=True,
289 auto_enter=True,
290 ).unsafe_ask()
291 return update_changelog_on_bump
292
293 def _get_config_data(self) -> dict[str, Any]:
294 CZ_HOOK_CONFIG = {

Callers 1

__call__Method · 0.95

Calls 1

unsafe_askMethod · 0.80

Tested by

no test coverage detected