File tree Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,11 @@ repos:
3333 - id : isort
3434
3535 - repo : https://github.com/codespell-project/codespell
36- rev : v2.2.4
36+ rev : v2.3.0
3737 hooks :
3838 - id : codespell
39- args :
40- - --ignore-words-list=ser,nd,hass
41- - --skip="./.*"
42- - --quiet-level=2
39+ additional_dependencies : [tomli]
40+ args : ["--toml", "pyproject.toml"]
4341
4442 - repo : https://github.com/charliermarsh/ruff-pre-commit
4543 rev : v0.0.261
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ license = {text = "GPL-3.0"}
1515requires-python = " >=3.8"
1616dependencies = [
1717 " voluptuous" ,
18- " zigpy>=0.70 .0" ,
18+ " zigpy>=0.80 .0" ,
1919 ' async-timeout; python_version<"3.11"' ,
2020]
2121
@@ -63,6 +63,11 @@ ignore = [
6363]
6464per-file-ignores = [" tests/*:F811,F401,F403" ]
6565
66+ [tool .codespell ]
67+ ignore-words-list = [" IntStruct" ]
68+ skip = [" ./.*" , " tests/*" , " pyproject.toml" ]
69+ quiet-level = 2
70+
6671[tool .coverage .report ]
6772exclude_also = [
6873 " raise AssertionError" ,
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ class FirmwarePlatform(t.enum8):
7878 Conbee_III = 0x09
7979
8080
81- class FirmwareVersion (t .Struct , t .uint32_t ):
81+ class FirmwareVersion (t .IntStruct , t .uint32_t ):
8282 reserved : t .uint8_t
8383 platform : FirmwarePlatform
8484 minor : t .uint8_t
Original file line number Diff line number Diff line change 66 EUI64 ,
77 NWK ,
88 ExtendedPanId ,
9+ IntStruct ,
910 LongOctetString ,
1011 LVBytes ,
1112 LVList ,
You can’t perform that action at this time.
0 commit comments