Skip to content

Commit 8602fd0

Browse files
feat(unicode): add unicode support
This will allow commiting, e.g., emoji's and parsing commit messages for unicode characters when creating change logs.
1 parent 271f50b commit 8602fd0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

commitizen/defaults.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,7 @@ class Settings(TypedDict, total=False):
4040
style: Optional[List[Tuple[str, str]]]
4141
customize: CzSettings
4242
major_version_zero: bool
43-
<<<<<<< HEAD
4443
encoding: str
45-
major_version_zero: bool
46-
=======
47-
>>>>>>> 366081c (feat: add major-version-zero option to support initial package development)
4844

4945

5046
name: str = "cz_conventional_commits"
@@ -72,6 +68,7 @@ class Settings(TypedDict, total=False):
7268
"use_shortcuts": False,
7369
"encoding": "utf-8",
7470
"major_version_zero": False,
71+
"encoding": "utf-8",
7572
}
7673

7774
MAJOR = "MAJOR"

tests/test_conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"use_shortcuts": False,
5151
"encoding": "utf-8",
5252
"major_version_zero": False,
53+
"encoding": "utf-8",
5354
}
5455

5556
_new_settings = {
@@ -67,6 +68,7 @@
6768
"use_shortcuts": False,
6869
"encoding": "utf-8",
6970
"major_version_zero": False,
71+
"encoding": "utf-8",
7072
}
7173

7274
_read_settings = {

0 commit comments

Comments
 (0)