Skip to content

Commit 45d9c35

Browse files
Apply migration from 25.9.0 to 26.3.1
=== v26.3.1 ========================================================= Source: inline script Collecting black==26.3.1 Downloading black-26.3.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (91 kB) Collecting click>=8.0.0 (from black==26.3.1) Downloading click-8.3.1-py3-none-any.whl.metadata (2.6 kB) Collecting mypy-extensions>=0.4.3 (from black==26.3.1) Downloading mypy_extensions-1.1.0-py3-none-any.whl.metadata (1.1 kB) Collecting packaging>=22.0 (from black==26.3.1) Downloading packaging-26.0-py3-none-any.whl.metadata (3.3 kB) Collecting pathspec>=1.0.0 (from black==26.3.1) Downloading pathspec-1.0.4-py3-none-any.whl.metadata (13 kB) Collecting platformdirs>=2 (from black==26.3.1) Downloading platformdirs-4.9.4-py3-none-any.whl.metadata (4.7 kB) Collecting pytokens~=0.4.0 (from black==26.3.1) Downloading pytokens-0.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (3.8 kB) Downloading black-26.3.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 9.9 MB/s 0:00:00 Downloading pytokens-0.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (268 kB) Downloading click-8.3.1-py3-none-any.whl (108 kB) Downloading mypy_extensions-1.1.0-py3-none-any.whl (5.0 kB) Downloading packaging-26.0-py3-none-any.whl (74 kB) Downloading pathspec-1.0.4-py3-none-any.whl (55 kB) Downloading platformdirs-4.9.4-py3-none-any.whl (21 kB) Installing collected packages: pytokens, platformdirs, pathspec, packaging, mypy-extensions, click, black Successfully installed black-26.3.1 click-8.3.1 mypy-extensions-1.1.0 packaging-26.0 pathspec-1.0.4 platformdirs-4.9.4 pytokens-0.4.1 reformatted /home/runner/work/frequenz-client-common-python/frequenz-client-common-python/src/frequenz/client/common/metrics/proto/_bounds.py reformatted /home/runner/work/frequenz-client-common-python/frequenz-client-common-python/src/frequenz/client/common/streaming/__init__.py reformatted /home/runner/work/frequenz-client-common-python/frequenz-client-common-python/src/frequenz/client/common/metrics/_metric.py reformatted /home/runner/work/frequenz-client-common-python/frequenz-client-common-python/src/frequenz/client/common/microgrid/electrical_components/__init__.py All done! ✨ 🍰 ✨ 4 files reformatted, 35 files left unchanged. The migration completed successfully.
1 parent 8dd38af commit 45d9c35

4 files changed

Lines changed: 1 addition & 3 deletions

File tree

src/frequenz/client/common/metrics/_metric.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
"""Supported metrics for microgrid components."""
55

6-
76
import enum
87

98
from frequenz.api.common.v1alpha8.metrics import metrics_pb2

src/frequenz/client/common/metrics/proto/_bounds.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

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

6-
76
from frequenz.api.common.v1alpha8.metrics import bounds_pb2
87

98
from .._bounds import Bounds

src/frequenz/client/common/microgrid/electrical_components/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Copyright © 2022 Frequenz Energy-as-a-Service GmbH
33

44
"""Defines the electrical components that can be used in a microgrid."""
5+
56
from __future__ import annotations
67

78
import enum

src/frequenz/client/common/streaming/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
"""Type wrappers for the generated protobuf messages."""
55

6-
76
from enum import Enum
87

98
# pylint: disable-next=no-name-in-module

0 commit comments

Comments
 (0)