Skip to content

Commit

Permalink
Update codespell to 2.1.0 (home-assistant#64661)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Jan 21, 2022
1 parent a26f008 commit 7a2b699
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
- --quiet
files: ^((homeassistant|script|tests)/.+)?[^/]+\.py$
- repo: https://github.com/codespell-project/codespell
rev: v2.0.0
rev: v2.1.0
hooks:
- id: codespell
args:
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/recorder/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@ def _statistics_at_time(
table: type[Statistics | StatisticsShortTerm],
start_time: datetime,
) -> list | None:
"""Return last known statics, earlier than start_time, for the metadata_ids."""
"""Return last known statistics, earlier than start_time, for the metadata_ids."""
# Fetch metadata for the given (or all) statistic_ids
if table == StatisticsShortTerm:
base_query = QUERY_STATISTICS_SHORT_TERM
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/wemo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ async def async_stop_wemo(event: Event) -> None:
hass.bus.async_listen_once(EVENT_HOMEASSISTANT_STOP, async_stop_wemo)
)

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

if config.get(CONF_DISCOVERY, DEFAULT_DISCOVERY):
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_pre_commit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

bandit==1.7.0
black==21.12b0
codespell==2.0.0
codespell==2.1.0
flake8-comprehensions==3.7.0
flake8-docstrings==1.6.0
flake8-noqa==1.2.1
Expand Down

0 comments on commit 7a2b699

Please sign in to comment.