Skip to content

Commit

Permalink
Ran black
Browse files Browse the repository at this point in the history
  • Loading branch information
Dos Moonen committed Jan 26, 2024
1 parent 7957271 commit 34f9589
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions solax/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Support for Solax inverter via local API."""

import asyncio
import logging

Expand Down
1 change: 1 addition & 0 deletions solax/units.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Units and different measurement types"""

from enum import Enum
from typing import NamedTuple, Union

Expand Down
6 changes: 2 additions & 4 deletions solax/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ class Packer(Protocol): # pragma: no cover
data into one raw value
"""

def __call__(self, *vals: float) -> float:
...
def __call__(self, *vals: float) -> float: ...


PackerBuilderResult = Tuple[Tuple[int, ...], Packer]
Expand All @@ -24,8 +23,7 @@ class PackerBuilder(Protocol): # pragma: no cover
raw values to be fed to the packer
"""

def __call__(self, *indexes: int) -> PackerBuilderResult:
...
def __call__(self, *indexes: int) -> PackerBuilderResult: ...


def __u16_packer(*values: float) -> float:
Expand Down

0 comments on commit 34f9589

Please sign in to comment.