Skip to content

Commit

Permalink
Run ruff (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbede authored Dec 9, 2024
1 parent 46db79d commit ec7cc7d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions aioelectricitymaps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
from .request import CoordinatesRequest, ZoneRequest

__all__ = [
"HomeAssistantCarbonIntensityResponse",
"CoordinatesRequest",
"Zone",
"ZoneRequest",
"ElectricityMaps",
"ElectricityMapsError",
"ElectricityMapsNoDataError",
"ElectricityMapsConnectionError",
"ElectricityMapsConnectionTimeoutError",
"ElectricityMapsError",
"ElectricityMapsInvalidTokenError",
"ElectricityMapsNoDataError",
"HomeAssistantCarbonIntensityResponse",
"Zone",
"ZoneRequest",
]
8 changes: 4 additions & 4 deletions aioelectricitymaps/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
from .zone import Zone, ZonesResponse

__all__ = [
"CarbonIntensityHistory",
"HomeAssistantCarbonIntensityResponse",
"Zone",
"ZonesResponse",
"LatestCarbonIntensity",
"LatestPowerBreakdown",
"PowerBreakdownHistory",
"LatestCarbonIntensity",
"CarbonIntensityHistory",
"Zone",
"ZonesResponse",
]
2 changes: 1 addition & 1 deletion aioelectricitymaps/models/power_breakdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from __future__ import annotations

from dataclasses import dataclass, field
from datetime import datetime # noqa: TCH003
from datetime import datetime # noqa: TC003

from mashumaro import field_options
from mashumaro.mixins.orjson import DataClassORJSONMixin
Expand Down

0 comments on commit ec7cc7d

Please sign in to comment.