[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-04-13 00:00:18 +00:00
parent 72ad6dc953
commit f4cd1ba0d6
813 changed files with 66015 additions and 58839 deletions

View file

@ -1,3 +1,5 @@
from __future__ import annotations
from distutils.dep_util import newer_group
@ -12,7 +14,8 @@ def newer_pairwise_group(sources_groups, targets):
"""
if len(sources_groups) != len(targets):
raise ValueError(
"'sources_group' and 'targets' must be the same length")
"'sources_group' and 'targets' must be the same length",
)
# build a pair of lists (sources_groups, targets) where source is newer
n_sources = []