Skip to content

Commit 7a2b699

Browse files
authored
Update codespell to 2.1.0 (home-assistant#64661)
1 parent a26f008 commit 7a2b699

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repos:
1313
- --quiet
1414
files: ^((homeassistant|script|tests)/.+)?[^/]+\.py$
1515
- repo: https://github.com/codespell-project/codespell
16-
rev: v2.0.0
16+
rev: v2.1.0
1717
hooks:
1818
- id: codespell
1919
args:

homeassistant/components/recorder/statistics.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,7 @@ def _statistics_at_time(
10571057
table: type[Statistics | StatisticsShortTerm],
10581058
start_time: datetime,
10591059
) -> list | None:
1060-
"""Return last known statics, earlier than start_time, for the metadata_ids."""
1060+
"""Return last known statistics, earlier than start_time, for the metadata_ids."""
10611061
# Fetch metadata for the given (or all) statistic_ids
10621062
if table == StatisticsShortTerm:
10631063
base_query = QUERY_STATISTICS_SHORT_TERM

homeassistant/components/wemo/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ async def async_stop_wemo(event: Event) -> None:
125125
hass.bus.async_listen_once(EVENT_HOMEASSISTANT_STOP, async_stop_wemo)
126126
)
127127

128-
# Need to do this at least once in case statics are defined and discovery is disabled
128+
# Need to do this at least once in case statistics are defined and discovery is disabled
129129
await wemo_discovery.discover_statics()
130130

131131
if config.get(CONF_DISCOVERY, DEFAULT_DISCOVERY):

requirements_test_pre_commit.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
bandit==1.7.0
44
black==21.12b0
5-
codespell==2.0.0
5+
codespell==2.1.0
66
flake8-comprehensions==3.7.0
77
flake8-docstrings==1.6.0
88
flake8-noqa==1.2.1

0 commit comments

Comments
 (0)