Skip to content

Commit ec97453

Browse files
committed
ci(mypy): fix linter error
1 parent baee83e commit ec97453

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

commitizen/config/json_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class JsonConfig(BaseConfig):
1313
def __init__(self, *, data: bytes | str, path: Path | str):
1414
super().__init__()
1515
self.is_empty_config = False
16-
self.path = path # type: ignore
16+
self.path = path
1717
self._parse_setting(data)
1818

1919
def init_empty_config_content(self):

commitizen/config/toml_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class TomlConfig(BaseConfig):
1414
def __init__(self, *, data: bytes | str, path: Path | str):
1515
super().__init__()
1616
self.is_empty_config = False
17-
self.path = path # type: ignore
17+
self.path = path
1818
self._parse_setting(data)
1919

2020
def init_empty_config_content(self):

commitizen/config/yaml_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class YAMLConfig(BaseConfig):
1414
def __init__(self, *, data: bytes | str, path: Path | str):
1515
super().__init__()
1616
self.is_empty_config = False
17-
self.path = path # type: ignore
17+
self.path = path
1818
self._parse_setting(data)
1919

2020
def init_empty_config_content(self):

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ deprecated = "^1.2.13"
121121
[tool.poetry.group.linters.dependencies]
122122
ruff = ">=0.5.0,<0.10.0"
123123
pre-commit = ">=2.18,<5.0"
124-
mypy = "^1.15.0"
124+
mypy = "^1.16.0"
125125
types-deprecated = "^1.2.9.2"
126126
types-python-dateutil = "^2.8.19.13"
127127
types-PyYAML = ">=5.4.3,<7.0.0"

0 commit comments

Comments
 (0)