diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dcc5c01a3d0..6838051c782 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,13 +17,10 @@ repos: - id: pyupgrade args: - --py39-plus - - repo: https://github.com/psf/black - rev: 24.8.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 25.11.0 hooks: - id: black - language_version: python3 - args: - - --target-version=py39 - repo: https://github.com/pycqa/flake8 rev: 7.1.1 hooks: diff --git a/distributed/profile.py b/distributed/profile.py index a194a531802..547ed935e99 100644 --- a/distributed/profile.py +++ b/distributed/profile.py @@ -1,4 +1,4 @@ -""" This module contains utility functions to construct and manipulate counting +"""This module contains utility functions to construct and manipulate counting data structures for frames. When performing statistical profiling we obtain many call stacks. We aggregate diff --git a/distributed/shuffle/_rechunk.py b/distributed/shuffle/_rechunk.py index 8b597f79e4f..f096b108216 100644 --- a/distributed/shuffle/_rechunk.py +++ b/distributed/shuffle/_rechunk.py @@ -664,7 +664,7 @@ def _split_partials_per_axis(old_to_new: list[Any]) -> tuple[tuple[_Partial, ... def _slice_new_chunks_into_partials( - old_to_new: list[list[list[tuple[int, slice]]]] + old_to_new: list[list[list[tuple[int, slice]]]], ) -> SlicedAxes: """Slice the new chunks into partials that can be computed separately""" sliced_axes = []