Skip to content

Commit 7bc997e

Browse files
authored
Merge pull request #509 from plugwise/renovate/astral-sh-ruff-pre-commit-0.x
chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.2.0
2 parents f6cf37f + df288c7 commit 7bc997e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ default_language_version:
1111
repos:
1212
# Run manually in CI skipping the branch checks
1313
- repo: https://github.com/astral-sh/ruff-pre-commit
14-
rev: v0.1.15
14+
rev: v0.2.0
1515
hooks:
1616
- id: ruff
1717
args:

tests/test_init.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# pylint: disable=protected-access
22
"""Test Plugwise Home Assistant module and generate test JSON fixtures."""
3-
import asyncio
43
import importlib
54
import json
65

@@ -201,7 +200,7 @@ async def smile_http_ok(cls, request):
201200
@classmethod
202201
async def smile_timeout(cls, request):
203202
"""Render timeout endpoint."""
204-
raise asyncio.TimeoutError
203+
raise TimeoutError
205204

206205
@classmethod
207206
async def smile_broken(cls, request):

0 commit comments

Comments
 (0)