Skip to content

Commit dc47792

Browse files
authored
Update codespell to 2.3.0 (home-assistant#118001)
1 parent 93daac9 commit dc47792

File tree

22 files changed

+29
-28
lines changed

22 files changed

+29
-28
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ repos:
88
- id: ruff-format
99
files: ^((homeassistant|pylint|script|tests)/.+)?[^/]+\.(py|pyi)$
1010
- repo: https://github.com/codespell-project/codespell
11-
rev: v2.2.6
11+
rev: v2.3.0
1212
hooks:
1313
- id: codespell
1414
args:
15-
- --ignore-words-list=additionals,alle,alot,astroid,bund,caf,convencional,currenty,datas,farenheit,falsy,fo,frequence,haa,hass,iif,incomfort,ines,ist,nam,nd,pres,pullrequests,resset,rime,ser,serie,te,technik,ue,unsecure,vor,withing,zar
15+
- --ignore-words-list=additionals,alle,alot,astroid,bund,caf,checkin,convencional,currenty,datas,farenheit,falsy,fo,frequence,haa,hass,iif,incomfort,ines,ist,lookin,nam,nd,NotIn,pres,pullrequests,resset,rime,ser,serie,te,technik,ue,unsecure,vor,withing,zar
1616
- --skip="./.*,*.csv,*.json,*.ambr"
1717
- --quiet-level=2
1818
exclude_types: [csv, json, html]

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
We as members, contributors, and leaders pledge to make participation in our
66
community a harassment-free experience for everyone, regardless of age, body
77
size, visible or invisible disability, ethnicity, sex characteristics, gender
8-
identity and expression, level of experience, education, socio-economic status,
8+
identity and expression, level of experience, education, socioeconomic status,
99
nationality, personal appearance, race, religion, or sexual identity
1010
and orientation.
1111

homeassistant/components/coinbase/const.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@
550550
"TRAC": "TRAC",
551551
"TRB": "TRB",
552552
"TRIBE": "TRIBE",
553-
"TRU": "TRU",
553+
"TRU": "TRU", # codespell:ignore tru
554554
"TRY": "TRY",
555555
"TTD": "TTD",
556556
"TWD": "TWD",

homeassistant/components/homekit_controller/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def __init__(
110110
# A list of callbacks that turn HK characteristics into entities
111111
self.char_factories: list[AddCharacteristicCb] = []
112112

113-
# The platorms we have forwarded the config entry so far. If a new
113+
# The platforms we have forwarded the config entry so far. If a new
114114
# accessory is added to a bridge we may have to load additional
115115
# platforms. We don't want to load all platforms up front if its just
116116
# a lightbulb. And we don't want to forward a config entry twice

homeassistant/components/isy994/binary_sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ async def async_added_to_hass(self) -> None:
447447

448448
self._node.control_events.subscribe(self._heartbeat_node_control_handler)
449449

450-
# Start the timer on bootup, so we can change from UNKNOWN to OFF
450+
# Start the timer on boot-up, so we can change from UNKNOWN to OFF
451451
self._restart_timer()
452452

453453
if (last_state := await self.async_get_last_state()) is not None:

homeassistant/components/jewish_calendar/sensor.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,9 @@ async def async_update(self) -> None:
202202
daytime_date = HDate(today, diaspora=self._diaspora, hebrew=self._hebrew)
203203

204204
# The Jewish day starts after darkness (called "tzais") and finishes at
205-
# sunset ("shkia"). The time in between is a gray area (aka "Bein
206-
# Hashmashot" - literally: "in between the sun and the moon").
205+
# sunset ("shkia"). The time in between is a gray area
206+
# (aka "Bein Hashmashot" # codespell:ignore
207+
# - literally: "in between the sun and the moon").
207208

208209
# For some sensors, it is more interesting to consider the date to be
209210
# tomorrow based on sunset ("shkia"), for others based on "tzais".

homeassistant/components/systemmonitor/binary_sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ async def async_setup_entry(
9393
entry: SystemMonitorConfigEntry,
9494
async_add_entities: AddEntitiesCallback,
9595
) -> None:
96-
"""Set up System Montor binary sensors based on a config entry."""
96+
"""Set up System Monitor binary sensors based on a config entry."""
9797
coordinator = entry.runtime_data.coordinator
9898

9999
async_add_entities(

homeassistant/components/systemmonitor/sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ async def async_setup_entry(
506506
entry: SystemMonitorConfigEntry,
507507
async_add_entities: AddEntitiesCallback,
508508
) -> None:
509-
"""Set up System Montor sensors based on a config entry."""
509+
"""Set up System Monitor sensors based on a config entry."""
510510
entities: list[SystemMonitorSensor] = []
511511
legacy_resources: set[str] = set(entry.options.get("resources", []))
512512
loaded_resources: set[str] = set()

homeassistant/components/transmission/config_flow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Config flow for Transmission Bittorent Client."""
1+
"""Config flow for Transmission Bittorrent Client."""
22

33
from __future__ import annotations
44

homeassistant/components/transmission/const.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Constants for the Transmission Bittorent Client component."""
1+
"""Constants for the Transmission Bittorrent Client component."""
22

33
from __future__ import annotations
44

0 commit comments

Comments
 (0)