mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
lint fixes
This commit is contained in:
@@ -281,7 +281,7 @@ class _PortsDict(Generic[_T]):
|
||||
else:
|
||||
self.kvs[port] = value
|
||||
|
||||
def __eq__(self, other: "_PortsDict[_T]") -> bool:
|
||||
def __eq__(self, other: object) -> bool:
|
||||
if not isinstance(other, self.__class__):
|
||||
return False
|
||||
return (self.kvs == other.kvs)
|
||||
|
||||
Reference in New Issue
Block a user