Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump codespell to 2.3.0 #3257

Merged
merged 7 commits into from
Aug 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -218,4 +218,4 @@ split-on-trailing-comma = false
"script/*" = ["T20"]

[tool.ruff.lint.mccabe]
max-complexity = 27
max-complexity = 27
2 changes: 1 addition & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ black
flake8
codecov
colorlog
codespell
codespell>=2.3.0
coveralls
mypy==0.942
pre-commit
Expand Down
2 changes: 1 addition & 1 deletion zhaquirks/lixee/zlinky.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion zhaquirks/tuya/air/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}
)
Expand Down
2 changes: 1 addition & 1 deletion zhaquirks/tuya/ts0601_garage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
4 changes: 2 additions & 2 deletions zhaquirks/tuya/ts0601_motion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
)

Expand Down Expand Up @@ -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),
Expand Down
Loading