mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-11 21:54:16 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
72ad6dc953
commit
f4cd1ba0d6
813 changed files with 66015 additions and 58839 deletions
|
|
@ -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 = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue