Skip to content

Commit

Permalink
Auto-update pre-commit hooks (#317)
Browse files Browse the repository at this point in the history
* Auto-update pre-commit hooks

updates:
- [github.com/codespell-project/codespell: v2.3.0 → v2.4.1](codespell-project/codespell@v2.3.0...v2.4.1)
- [github.com/pre-commit/mirrors-mypy: v1.13.0 → v1.14.1](pre-commit/mirrors-mypy@v1.13.0...v1.14.1)
- [github.com/astral-sh/ruff-pre-commit: v0.8.0 → v0.9.4](astral-sh/ruff-pre-commit@v0.8.0...v0.9.4)

* Apply pre-commit auto fixes

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Feb 3, 2025
1 parent fc0d3f3 commit c23285f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ ci:

repos:
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
rev: v2.4.1
hooks:
- id: codespell
additional_dependencies: [tomli]
args: ["--toml", "pyproject.toml"]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
rev: v1.14.1
hooks:
- id: mypy

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.0
rev: v0.9.4
hooks:
- id: ruff
args: [--fix]
Expand Down
5 changes: 1 addition & 4 deletions tests/test_discover.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,7 @@ def _ch_mock(cluster):


@mock.patch(
(
"zha.application.discovery.EndpointProbe"
".handle_on_off_output_cluster_exception"
),
("zha.application.discovery.EndpointProbe.handle_on_off_output_cluster_exception"),
new=mock.MagicMock(),
)
@mock.patch("zha.application.discovery.EndpointProbe.probe_single_cluster")
Expand Down

0 comments on commit c23285f

Please sign in to comment.