Skip to content

Commit 535345e

Browse files
committed
ignore override
1 parent 9aefdde commit 535345e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lightning/pytorch/loggers/utilities.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,12 +250,12 @@ def __getitem__(self, key: Union[SupportsIndex, str, slice], /) -> Union[_T, lis
250250
return self[self._dict[key]]
251251
return super().__getitem__(key)
252252

253-
def __add__(self, other: Union[list[_T], "_ListMap[_T]"]) -> "_ListMap[_T]":
253+
def __add__(self, other: Union[list[_T], "_ListMap[_T]"]) -> "_ListMap[_T]": # type: ignore[override]
254254
new_listmap = self.copy()
255255
new_listmap += other
256256
return new_listmap
257257

258-
def __iadd__(self, other: Iterable[_T]) -> Self:
258+
def __iadd__(self, other: Iterable[_T]) -> Self: # type: ignore[override]
259259
if isinstance(other, _ListMap):
260260
offset = len(self)
261261
for key, idx in other._dict.items():

0 commit comments

Comments
 (0)