Skip to content

Commit

Permalink
Merge pull request #509 from plugwise/renovate/astral-sh-ruff-pre-com…
Browse files Browse the repository at this point in the history
…mit-0.x

chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.2.0
  • Loading branch information
bouwew authored Feb 4, 2024
2 parents f6cf37f + df288c7 commit 7bc997e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ default_language_version:
repos:
# Run manually in CI skipping the branch checks
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.15
rev: v0.2.0
hooks:
- id: ruff
args:
Expand Down
3 changes: 1 addition & 2 deletions tests/test_init.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# pylint: disable=protected-access
"""Test Plugwise Home Assistant module and generate test JSON fixtures."""
import asyncio
import importlib
import json

Expand Down Expand Up @@ -201,7 +200,7 @@ async def smile_http_ok(cls, request):
@classmethod
async def smile_timeout(cls, request):
"""Render timeout endpoint."""
raise asyncio.TimeoutError
raise TimeoutError

@classmethod
async def smile_broken(cls, request):
Expand Down

0 comments on commit 7bc997e

Please sign in to comment.