Skip to content

Commit 99b45aa

Browse files
test(unicode): add tests
1 parent 6bd488f commit 99b45aa

File tree

2 files changed

+234
-13
lines changed

2 files changed

+234
-13
lines changed

commitizen/config/json_config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import json
2+
import sys
23
from pathlib import Path
34
from typing import Union
45

@@ -45,6 +46,7 @@ def _parse_setting(self, data: Union[bytes, str]) -> None:
4546
```
4647
"""
4748
doc = json.loads(data)
49+
4850
try:
4951
self.settings.update(doc["commitizen"])
5052
except KeyError:

0 commit comments

Comments
 (0)