Skip to content

Commit

Permalink
more pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Oct 30, 2024
1 parent a4279f4 commit 46bd4cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ class _DataType(Enum):
BYTE_ARRAY = (16, "s")

def __new__(cls, value: int, struct_code: str) -> "_DataType":
# pylint: disable=unused-argument
obj = object.__new__(cls)
obj._value_ = value
return obj

def __init__(self, value: int, struct_code: str):
# pylint: disable=unused-argument
self._struct_code = struct_code

@property
Expand Down

0 comments on commit 46bd4cd

Please sign in to comment.