Skip to content

Commit

Permalink
Ruff fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Dec 18, 2024
1 parent 616d929 commit eeb70b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/peblar/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -818,13 +818,13 @@ async def ev(
),
],
charge_limit: Annotated[
int,
int | None,
typer.Option(
help="Charge current limit in A",
),
] = None,
force_single_phase: Annotated[
bool,
bool | None,
typer.Option(
help="Force single phase charging",
),
Expand Down
4 changes: 1 addition & 3 deletions src/peblar/peblar.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
from aiohttp.client import ClientError, ClientSession
from yarl import URL

from peblar.const import PackageType

from .exceptions import (
PeblarAuthenticationError,
PeblarConnectionError,
Expand All @@ -41,7 +39,7 @@
)

if TYPE_CHECKING:
from peblar.const import AccessMode, SmartChargingMode
from peblar.const import AccessMode, PackageType, SmartChargingMode


@dataclass(kw_only=True)
Expand Down

0 comments on commit eeb70b6

Please sign in to comment.