Skip to content

Commit

Permalink
Apply black formating
Browse files Browse the repository at this point in the history
  • Loading branch information
ollo69 committed Jun 5, 2024
1 parent c483052 commit 56e119b
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions custom_components/smartthinq_sensors/water_heater.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Platform for LGE water heater integration."""

from __future__ import annotations

import logging
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Enum backports from standard lib."""

from __future__ import annotations

from enum import Enum
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,10 @@ def __set_name__(self, owner: type[Any], name: str) -> None:
)

@overload
def __get__(self, instance: None, owner: type[Any] | None = None) -> Self:
...
def __get__(self, instance: None, owner: type[Any] | None = None) -> Self: ...

@overload
def __get__(self, instance: Any, owner: type[Any] | None = None) -> _T:
...
def __get__(self, instance: Any, owner: type[Any] | None = None) -> _T: ...

def __get__(
self, instance: Any | None, owner: type[Any] | None = None
Expand Down
1 change: 1 addition & 0 deletions custom_components/smartthinq_sensors/wideq/core_util.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Support for LG SmartThinQ device."""

import uuid


Expand Down
1 change: 1 addition & 0 deletions custom_components/smartthinq_sensors/wideq/devices/ac.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""------------------for AC"""

from __future__ import annotations

from enum import Enum
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""------------------for Air Purifier"""

from __future__ import annotations

from enum import Enum
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""------------------for Dehumidifier"""

from __future__ import annotations

from enum import Enum
Expand Down
1 change: 1 addition & 0 deletions custom_components/smartthinq_sensors/wideq/devices/fan.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""------------------for Fan"""

from __future__ import annotations

from enum import Enum
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""------------------for WATER HEATER"""

from __future__ import annotations

from enum import Enum
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Global fixtures for integration_blueprint integration."""

# Fixtures allow you to replace functions with a Mock object. You can perform
# many options via the Mock to reflect a particular behavior from the original
# function that you want to see without going through the function's actual logic.
Expand Down

0 comments on commit 56e119b

Please sign in to comment.