Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemanspiff2007 committed Nov 13, 2024
1 parent 89bf281 commit 603f1c4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:


- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.1
rev: v0.7.3
hooks:
- id: ruff
name: ruff unused imports
Expand Down
2 changes: 1 addition & 1 deletion src/HABApp/core/internals/event_bus_listener.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any, TypeVar
from typing import Any

from typing_extensions import override

Expand Down
2 changes: 0 additions & 2 deletions src/HABApp/core/items/base_item.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from typing import TypeVar

from whenever import Instant

from HABApp.core.const.hints import TYPE_EVENT_CALLBACK
Expand Down
1 change: 0 additions & 1 deletion src/HABApp/mqtt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@

import HABApp.mqtt.interface_async
import HABApp.mqtt.interface_sync

9 changes: 3 additions & 6 deletions tests/test_config/test_config.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
import logging
import re

import pytest
from pydantic import ValidationError

from HABApp import CONFIG
from easyconfig.yaml import yaml_safe
from tests.helpers import LogCollector

from HABApp import CONFIG
from HABApp.config.models.mqtt import Subscribe
from tests.helpers import LogCollector


def test_default_file() -> None:
Expand Down Expand Up @@ -65,7 +62,7 @@ def test_default_file() -> None:
'''


def test_migrate(test_logs: LogCollector):
def test_migrate(test_logs: LogCollector) -> None:
text = '''
subscribe:
qos: 0 # Default QoS for subscribing
Expand Down

0 comments on commit 603f1c4

Please sign in to comment.