We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc54b51 commit 45b9352Copy full SHA for 45b9352
commitizen/commands/bump.py
@@ -293,7 +293,9 @@ def __call__(self) -> None: # noqa: C901
293
"unreleased_version": new_tag_version,
294
"template": self.template,
295
"extras": self.extras,
296
- "incremental": True,
+ "incremental": self.config.mutated_settings.get(
297
+ "changelog_incremental", True
298
+ ),
299
"dry_run": True,
300
},
301
)
@@ -305,7 +307,9 @@ def __call__(self) -> None: # noqa: C901
305
307
self.config,
306
308
{
309
310
311
312
313
"dry_run": dry_run,
314
315
commitizen/config/base_config.py
@@ -10,11 +10,16 @@ def __init__(self):
10
self._settings: Settings = DEFAULT_SETTINGS.copy()
11
self.encoding = self.settings["encoding"]
12
self._path: Path | None = None
13
+ self._settings_from_configs: Settings = {}
14
15
@property
16
def settings(self) -> Settings:
17
return self._settings
18
19
+ @property
20
+ def mutated_settings(self) -> Settings:
21
+ return self._settings_from_configs
22
+
23
24
def path(self) -> Path | None:
25
return self._path
commitizen/config/json_config.py
@@ -52,5 +52,6 @@ def _parse_setting(self, data: bytes | str) -> None:
52
53
try:
54
self.settings.update(doc["commitizen"])
55
+ self.mutated_settings.update(doc["commitizen"])
56
except KeyError:
57
self.is_empty_config = True
commitizen/config/toml_config.py
@@ -58,5 +58,6 @@ def _parse_setting(self, data: bytes | str) -> None:
58
59
60
self.settings.update(doc["tool"]["commitizen"]) # type: ignore
61
+ self.mutated_settings.update(doc["tool"]["commitizen"]) # type: ignore
62
except exceptions.NonExistentKey:
63
commitizen/config/yaml_config.py
@@ -38,6 +38,7 @@ def _parse_setting(self, data: bytes | str) -> None:
38
39
40
41
42
except (KeyError, TypeError):
43
44
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments