We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28ac03b commit 95c50e3Copy full SHA for 95c50e3
commitizen/config/base_config.py
@@ -26,16 +26,11 @@ def settings(self) -> Settings:
26
return self._settings
27
28
@property
29
- def path(self) -> Path | None:
30
- return self._path
+ def path(self) -> Path:
+ return self._path # type: ignore
31
32
@path.setter
33
def path(self, path: str | Path) -> None:
34
- """
35
- mypy does not like this until 1.16
36
- See https://github.com/python/mypy/pull/18510
37
- TODO: remove "type: ignore" from the call sites when 1.16 is available
38
39
self._path = Path(path)
40
41
def set_key(self, key: str, value: Any) -> Self:
0 commit comments