Skip to content

Commit

Permalink
more mypy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Alami-Amine committed Jul 19, 2024
1 parent 12bb98e commit 23ace52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/controller/python/chip/ChipDeviceCtrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
c_uint16, c_uint32, c_uint64, c_void_p, create_string_buffer, pointer, py_object, resize, string_at)
from dataclasses import dataclass

import dacite
import dacite # type: ignore

from . import FabricAdmin
from . import clusters as Clusters
Expand Down
2 changes: 1 addition & 1 deletion src/controller/python/chip/tlv/tlvlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def __rich_repr__(self):
def __iter__(self) -> """TLVList.Iterator""":
return TLVList.Iterator(iter(self._data))

def __eq__(self, rhs: "TLVList") -> bool:
def __eq__(self, rhs: object) -> bool:
if not isinstance(rhs, TLVList):
return False
return self._data == rhs._data

0 comments on commit 23ace52

Please sign in to comment.