Skip to content

Commit

Permalink
[ci] Autoformat with black
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Feb 4, 2024
1 parent c9b0abd commit 897ee9b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions utils/extra.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,9 @@ class InvalidateType(enum.IntEnum):
dm = 2
channel = 3


class InvalidationConfig:
def __init__(self, entity_id : int, entity_type : InvalidateType):
def __init__(self, entity_id: int, entity_type: InvalidateType):
self.entity_id = entity_id
self.entity_type = entity_type

Expand All @@ -307,8 +308,6 @@ def is_channel_invalidation(self) -> bool:
"""Checks if the configuration is for a specific channel's invalidation."""
return self.entity_type == InvalidateType.CHANNEL




class TemperatureReadings:
def __init__(self, celsius: float, fahrenheit: float, kelvin: float):
Expand Down

0 comments on commit 897ee9b

Please sign in to comment.