diff --git a/pyproject.toml b/pyproject.toml index 6ab44b9d..3112a481 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,10 +44,10 @@ dev-flake8 = [ "pydoclint == 0.7.6", "pydocstyle == 6.3.0", ] -dev-formatting = ["black == 25.9.0", "isort == 8.0.1"] +dev-formatting = ["black == 26.3.1", "isort == 8.0.1"] dev-mkdocs = [ "Markdown == 3.10.2", - "black == 25.9.0", + "black == 26.3.1", "frequenz-repo-config[lib] == 0.17.0", "markdown-callouts == 0.4.0", "markdown-svgbob == 202406.1023", diff --git a/src/frequenz/channels/experimental/_grouping_latest_value_cache.py b/src/frequenz/channels/experimental/_grouping_latest_value_cache.py index 2c22093b..0606c520 100644 --- a/src/frequenz/channels/experimental/_grouping_latest_value_cache.py +++ b/src/frequenz/channels/experimental/_grouping_latest_value_cache.py @@ -3,7 +3,6 @@ """The GroupingLatestValueCache caches the latest values in a receiver grouped by key.""" - import asyncio from collections.abc import ( Callable, diff --git a/src/frequenz/channels/experimental/_with_previous.py b/src/frequenz/channels/experimental/_with_previous.py index 5df2b124..75d418ad 100644 --- a/src/frequenz/channels/experimental/_with_previous.py +++ b/src/frequenz/channels/experimental/_with_previous.py @@ -3,7 +3,6 @@ """Composable predicate to cache and compare with the previous message.""" - from collections.abc import Callable from typing import Final, Generic, TypeGuard diff --git a/tests/experimental/test_pipe.py b/tests/experimental/test_pipe.py index 6775a4d8..f0158e14 100644 --- a/tests/experimental/test_pipe.py +++ b/tests/experimental/test_pipe.py @@ -3,7 +3,6 @@ """Tests for the Pipe class.""" - import asyncio import typing from contextlib import AsyncExitStack, aclosing, closing diff --git a/tests/test_anycast.py b/tests/test_anycast.py index 140a122f..38da03d6 100644 --- a/tests/test_anycast.py +++ b/tests/test_anycast.py @@ -3,7 +3,6 @@ """Tests for the Channel implementation.""" - import asyncio import pytest diff --git a/tests/test_broadcast.py b/tests/test_broadcast.py index 457e0659..7035250b 100644 --- a/tests/test_broadcast.py +++ b/tests/test_broadcast.py @@ -3,7 +3,6 @@ """Tests for the Broadcast implementation.""" - import asyncio from dataclasses import dataclass from typing import TypeGuard, assert_never diff --git a/tests/test_file_watcher.py b/tests/test_file_watcher.py index 720de807..b7cf1ef5 100644 --- a/tests/test_file_watcher.py +++ b/tests/test_file_watcher.py @@ -3,7 +3,6 @@ """Tests for `channel.FileWatcher`.""" - import pathlib from collections.abc import AsyncGenerator, Iterator, Sequence from typing import Any diff --git a/tests/test_timer.py b/tests/test_timer.py index f0909db0..3b052aa1 100644 --- a/tests/test_timer.py +++ b/tests/test_timer.py @@ -3,7 +3,6 @@ """Tests for the timer.""" - import asyncio import enum import re diff --git a/tests/test_timer_integration.py b/tests/test_timer_integration.py index 92f248f4..6f99e252 100644 --- a/tests/test_timer_integration.py +++ b/tests/test_timer_integration.py @@ -3,7 +3,6 @@ """Integration tests for the timer.""" - import asyncio from datetime import timedelta