make linter happy
This commit is contained in:
parent
79cde0f78c
commit
b732d52f65
21 changed files with 82 additions and 75 deletions
|
@ -1,7 +1,7 @@
|
|||
from dataclasses import dataclass, field
|
||||
from enum import IntEnum, unique
|
||||
|
||||
from c3nav.mesh.baseformats import FixedHexFormat, VarArrayFormat, StructType, SimpleFormat, FixedStrFormat
|
||||
from c3nav.mesh.baseformats import FixedHexFormat, FixedStrFormat, SimpleFormat, StructType, VarArrayFormat
|
||||
|
||||
|
||||
class MacAddressFormat(FixedHexFormat):
|
||||
|
@ -14,7 +14,6 @@ class MacAddressesListFormat(VarArrayFormat):
|
|||
super().__init__(child_type=MacAddressFormat())
|
||||
|
||||
|
||||
|
||||
@unique
|
||||
class LedType(IntEnum):
|
||||
SERIAL = 1
|
||||
|
@ -56,4 +55,4 @@ class FirmwareAppDescription(StructType, no_c_type=True):
|
|||
compile_date: str = field(metadata={"format": FixedStrFormat(16)})
|
||||
idf_version: str = field(metadata={"format": FixedStrFormat(32)})
|
||||
app_elf_sha256: str = field(metadata={"format": FixedHexFormat(32)})
|
||||
reserv2: list[int] = field(metadata={"format": SimpleFormat('20I')}, repr=False)
|
||||
reserv2: list[int] = field(metadata={"format": SimpleFormat('20I')}, repr=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue