Skip to content

Commit a36063b

Browse files
committed
style(config): ignore TomlConfig._parse_setting type annotation
1 parent 3987299 commit a36063b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commitizen/config/toml_config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ def _parse_setting(self, data: Union[bytes, str]):
4949
name = "cz_conventional_commits"
5050
```
5151
"""
52-
doc = parse(data)
52+
doc = parse(data) # type: ignore
5353
try:
54-
self.settings.update(doc["tool"]["commitizen"])
54+
self.settings.update(doc["tool"]["commitizen"]) # type: ignore
5555
except exceptions.NonExistentKey:
5656
self.is_empty_config = True

0 commit comments

Comments
 (0)