diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 47a96b6..875022c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ ci: repos: - repo: https://github.com/commitizen-tools/commitizen - rev: v3.27.0 + rev: v3.28.0 hooks: - id: commitizen stages: [commit-msg] @@ -37,7 +37,7 @@ repos: - id: prettier args: ["--tab-width", "2"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.2 + rev: v0.5.4 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] @@ -50,7 +50,7 @@ repos: hooks: - id: codespell - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.10.1 + rev: v1.11.0 hooks: - id: mypy additional_dependencies: [] diff --git a/tests/test_init.py b/tests/test_init.py index 5f339c3..3b4ce74 100644 --- a/tests/test_init.py +++ b/tests/test_init.py @@ -34,9 +34,11 @@ def test_create_scanner(): class MockScanner(BaseHaScanner): pass + @property def discovered_devices_and_advertisement_data(self): return [] + @property def discovered_devices(self): return []