Browse Source

chore(pre-commit.ci): pre-commit autoupdate (#398)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@home-assistant.io>
pre-commit-ci[bot] 1 month ago
parent
commit
2ec7aab75d
2 changed files with 3 additions and 3 deletions
  1. 2 2
      .pre-commit-config.yaml
  2. 1 1
      tests/test_strip_light.py

+ 2 - 2
.pre-commit-config.yaml

@@ -9,7 +9,7 @@ ci:
 
 repos:
   - repo: https://github.com/commitizen-tools/commitizen
-    rev: v4.8.4
+    rev: v4.9.1
     hooks:
       - id: commitizen
         stages: [commit-msg]
@@ -38,7 +38,7 @@ repos:
       - id: pyupgrade
         args: [--py311-plus]
   - repo: https://github.com/astral-sh/ruff-pre-commit
-    rev: v0.12.12
+    rev: v0.13.0
     hooks:
       - id: ruff
         args: [--fix]

+ 1 - 1
tests/test_strip_light.py

@@ -32,7 +32,7 @@ def device_case(request):
 
 @pytest.fixture
 def expected_effects(device_case):
-    adv_info, dev_cls = device_case
+    adv_info, _dev_cls = device_case
     EXPECTED = {
         SwitchbotModel.STRIP_LIGHT_3: ("christmas", "halloween", "sunset"),
         SwitchbotModel.FLOOR_LAMP: ("christmas", "halloween", "sunset"),