Skip to content

Commit c73827d

Browse files
jenstroegeradam-grant-hendry
authored andcommitted
feat: add major-version-zero option to support initial package development
1 parent 242056b commit c73827d

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"
@@ -71,6 +72,7 @@ class Settings(TypedDict, total=False):
7172
"encoding": "utf-8",
7273
"major_version_zero": False,
7374
"encoding": "utf-8",
75+
"major_version_zero": False,
7476
}
7577

7678
MAJOR = "MAJOR"

tests/test_conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"encoding": "utf-8",
5454
"major_version_zero": False,
5555
"encoding": "utf-8",
56+
"major_version_zero": False,
5657
}
5758

5859
_new_settings = {
@@ -73,6 +74,7 @@
7374
"encoding": "utf-8",
7475
"major_version_zero": False,
7576
"encoding": "utf-8",
77+
"major_version_zero": False,
7678
}
7779

7880
_read_settings = {

0 commit comments

Comments
 (0)