Skip to content

Commit ca3cef4

Browse files
jenstroegeradam-grant-hendry
authored andcommitted
feat: add major-version-zero option to support initial package development
1 parent 8602fd0 commit ca3cef4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

commitizen/defaults.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class Settings(TypedDict, total=False):
4141
customize: CzSettings
4242
major_version_zero: bool
4343
encoding: str
44+
major_version_zero: bool
4445

4546

4647
name: str = "cz_conventional_commits"
@@ -69,6 +70,7 @@ class Settings(TypedDict, total=False):
6970
"encoding": "utf-8",
7071
"major_version_zero": False,
7172
"encoding": "utf-8",
73+
"major_version_zero": False,
7274
}
7375

7476
MAJOR = "MAJOR"

tests/test_conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"encoding": "utf-8",
5252
"major_version_zero": False,
5353
"encoding": "utf-8",
54+
"major_version_zero": False,
5455
}
5556

5657
_new_settings = {
@@ -69,6 +70,7 @@
6970
"encoding": "utf-8",
7071
"major_version_zero": False,
7172
"encoding": "utf-8",
73+
"major_version_zero": False,
7274
}
7375

7476
_read_settings = {

0 commit comments

Comments
 (0)