Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ dev-flake8 = [
"pydoclint == 0.8.3",
"pydocstyle == 6.3.0",
]
dev-formatting = ["black == 25.12.0", "isort == 7.0.0"]
dev-formatting = ["black == 26.1.0", "isort == 7.0.0"]
dev-mkdocs = [
"black == 25.12.0",
"black == 26.1.0",
"Markdown==3.10.2",
"mike == 2.1.3",
"mkdocs-gen-files == 0.6.0",
Expand Down
1 change: 0 additions & 1 deletion src/frequenz/client/microgrid/_lifetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

"""Lifetime of a microgrid asset."""


from dataclasses import dataclass
from datetime import datetime, timezone

Expand Down
1 change: 0 additions & 1 deletion src/frequenz/client/microgrid/_location.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

"""Location information for a microgrid."""


from dataclasses import dataclass


Expand Down
1 change: 0 additions & 1 deletion src/frequenz/client/microgrid/_microgrid_info_proto.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

"""Loading of MicrogridInfo objects from protobuf messages."""


import logging

from frequenz.api.common.v1alpha8.microgrid import microgrid_pb2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

"""Loading of ComponentDataSamples objects from protobuf messages."""


import logging
from functools import partial

Expand Down
1 change: 0 additions & 1 deletion src/frequenz/client/microgrid/metrics/_bounds_proto.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

"""Loading of Bounds objects from protobuf messages."""


from frequenz.api.common.v1alpha8.metrics import bounds_pb2

from ._bounds import Bounds
Expand Down
1 change: 0 additions & 1 deletion src/frequenz/client/microgrid/metrics/_metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

"""Supported metrics for microgrid components."""


from frequenz.api.common.v1alpha8.metrics import metrics_pb2
from frequenz.core import enum

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

"""Configuration for `SetComponentPowerActive` test cases."""


from frequenz.api.microgrid.v1alpha18 import microgrid_pb2

RESPONSE_CLASS = microgrid_pb2.SetElectricalComponentPowerResponse
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

"""Configuration for `SetComponentPowerReactive` test cases."""


from frequenz.api.microgrid.v1alpha18 import microgrid_pb2

RESPONSE_CLASS = microgrid_pb2.SetElectricalComponentPowerResponse
1 change: 0 additions & 1 deletion tests/component/component_proto/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

"""Tests for protobuf conversion of the base/common part of Component objects."""


from frequenz.api.common.v1alpha8.microgrid.electrical_components import (
electrical_components_pb2,
)
Expand Down
1 change: 0 additions & 1 deletion tests/component/component_proto/test_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

"""Tests for protobuf conversion of simple Component objects."""


import logging
from unittest.mock import Mock, patch

Expand Down
1 change: 0 additions & 1 deletion tests/component/test_chp.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

"""Tests for CHP component."""


from frequenz.client.common.microgrid import MicrogridId
from frequenz.client.common.microgrid.components import ComponentId

Expand Down
1 change: 0 additions & 1 deletion tests/component/test_meter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

"""Tests for Meter component."""


from frequenz.client.common.microgrid import MicrogridId
from frequenz.client.common.microgrid.components import ComponentId

Expand Down
1 change: 0 additions & 1 deletion tests/component/test_precharger.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

"""Tests for Precharger component."""


from frequenz.client.common.microgrid import MicrogridId
from frequenz.client.common.microgrid.components import ComponentId

Expand Down
1 change: 0 additions & 1 deletion tests/component/test_relay.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

"""Tests for Relay component."""


from frequenz.client.common.microgrid import MicrogridId
from frequenz.client.common.microgrid.components import ComponentId

Expand Down
1 change: 0 additions & 1 deletion tests/component/test_wind_turbine.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

"""Tests for WindTurbine component."""


from frequenz.client.common.microgrid import MicrogridId
from frequenz.client.common.microgrid.components import ComponentId

Expand Down
1 change: 0 additions & 1 deletion tests/sensor/test_telemetry_proto.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

"""Tests for proto conversion of SensorTelemetry."""


from frequenz.api.common.v1alpha8.microgrid.sensors import sensors_pb2
from frequenz.client.common.microgrid.sensors import SensorId
from google.protobuf.timestamp_pb2 import Timestamp
Expand Down
Loading