diff --git a/pyproject.toml b/pyproject.toml index d0ccc13a86..cb59b1f2d1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -79,7 +79,7 @@ norecursedirs = ".git testing_config" [tool.codespell] skip = "Contributors.md" -ignore-words-list = "hass, dout, potentiels" +ignore-words-list = "hass, dout, potentiels, checkin" quiet-level = 2 [tool.ruff] @@ -218,4 +218,4 @@ split-on-trailing-comma = false "script/*" = ["T20"] [tool.ruff.lint.mccabe] -max-complexity = 27 \ No newline at end of file +max-complexity = 27 diff --git a/requirements_test.txt b/requirements_test.txt index 082ea0a8cf..1110975d87 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -3,7 +3,7 @@ black flake8 codecov colorlog -codespell +codespell>=2.3.0 coveralls mypy==0.942 pre-commit diff --git a/zhaquirks/lixee/zlinky.py b/zhaquirks/lixee/zlinky.py index 448334ff26..3891fe0bca 100644 --- a/zhaquirks/lixee/zlinky.py +++ b/zhaquirks/lixee/zlinky.py @@ -103,7 +103,7 @@ class ZLinkyTICManufacturerCluster(CustomCluster): 0x0215: ("std_message_short", t.LimitedCharString(32), True), # Standard mode: MSG2 "Message ultra court" / String 16 car 0x0216: ("std_message_ultra_short", t.LimitedCharString(16), True), - # Standard mode: STGE "Registre de Statuts" / String 8 car + # Standard mode: STGE "Registre de Statuts" / String 8 car /* codespell:ignore */ 0x0217: ("std_status_register", t.LimitedCharString(8), True), # Standard mode: DPM1 "Début Pointe Mobile 1" / Uint8 2 car 0x0218: ("std_mobile_peak_start_1", t.uint8_t, True), diff --git a/zhaquirks/tuya/air/__init__.py b/zhaquirks/tuya/air/__init__.py index 96b9c71cd4..325c1dd232 100644 --- a/zhaquirks/tuya/air/__init__.py +++ b/zhaquirks/tuya/air/__init__.py @@ -50,7 +50,7 @@ class TuyaAirQualityTemperature(TemperatureMeasurement, TuyaLocalCluster): attributes = TemperatureMeasurement.attributes.copy() attributes.update( { - # ramdom attribute IDs + # random attribute IDs 0xEF12: ("custom_temperature", CustomTemperature, False), } ) diff --git a/zhaquirks/tuya/ts0601_garage.py b/zhaquirks/tuya/ts0601_garage.py index f97861f476..fd08e507a8 100644 --- a/zhaquirks/tuya/ts0601_garage.py +++ b/zhaquirks/tuya/ts0601_garage.py @@ -27,7 +27,7 @@ class TuyaGarageManufCluster(NoManufacturerCluster, TuyaMCUCluster): attributes = TuyaMCUCluster.attributes.copy() attributes.update( { - # ramdom attribute IDs + # random attribute IDs 0xEF01: ("button", t.Bool, True), 0xEF02: ("dp_2", t.uint32_t, True), 0xEF03: ("contact_sensor", t.Bool, True), diff --git a/zhaquirks/tuya/ts0601_motion.py b/zhaquirks/tuya/ts0601_motion.py index 09fac192b7..32a4162dcf 100644 --- a/zhaquirks/tuya/ts0601_motion.py +++ b/zhaquirks/tuya/ts0601_motion.py @@ -82,7 +82,7 @@ class NeoMotionManufCluster(TuyaNewManufCluster): attributes = TuyaNewManufCluster.attributes.copy() attributes.update( { - 0xEF0D: ("dp_113", t.enum8, True), # ramdom attribute ID + 0xEF0D: ("dp_113", t.enum8, True), # random attribute ID } ) @@ -135,7 +135,7 @@ class MmwRadarManufCluster(TuyaMCUCluster): attributes = TuyaMCUCluster.attributes.copy() attributes.update( { - # ramdom attribute IDs + # random attribute IDs 0xEF02: ("dp_2", t.uint32_t, True), 0xEF03: ("dp_3", t.uint32_t, True), 0xEF04: ("dp_4", t.uint32_t, True),