[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] 2026-05-04 07:59:18 +00:00
parent 125cb6f78c
commit 229ef01fc9
8 changed files with 13 additions and 8 deletions

View file

@ -4,7 +4,8 @@ import argparse
import math
import os
import subprocess
from collections.abc import Iterable, Sequence
from collections.abc import Iterable
from collections.abc import Sequence
from pre_commit_hooks.util import added_files
from pre_commit_hooks.util import zsplit

View file

@ -3,7 +3,7 @@ from __future__ import annotations
import argparse
from collections.abc import Iterable
from collections.abc import Iterator
from collections.abc import Iterable, Sequence
from collections.abc import Sequence
from pre_commit_hooks.util import added_files
from pre_commit_hooks.util import cmd_output

View file

@ -5,7 +5,8 @@ import argparse
import shlex
import sys
from collections.abc import Generator
from collections.abc import Iterable, Sequence
from collections.abc import Iterable
from collections.abc import Sequence
from typing import NamedTuple
from pre_commit_hooks.util import cmd_output

View file

@ -4,7 +4,8 @@ from __future__ import annotations
import argparse
import shlex
import sys
from collections.abc import Iterable, Sequence
from collections.abc import Iterable
from collections.abc import Sequence
from pre_commit_hooks.check_executables_have_shebangs import EXECUTABLE_VALUES
from pre_commit_hooks.check_executables_have_shebangs import git_ls_files

View file

@ -3,7 +3,8 @@ from __future__ import annotations
import argparse
import shlex
import subprocess
from collections.abc import Iterable, Sequence
from collections.abc import Iterable
from collections.abc import Sequence
from pre_commit_hooks.util import cmd_output
from pre_commit_hooks.util import zsplit

View file

@ -3,7 +3,8 @@ from __future__ import annotations
import argparse
import configparser
import os
from collections.abc import Iterable, Sequence
from collections.abc import Iterable
from collections.abc import Sequence
from typing import NamedTuple

View file

@ -14,7 +14,6 @@ from __future__ import annotations
import argparse
from collections.abc import Callable
from collections.abc import Iterable
from collections.abc import Iterable
from typing import Any
from typing import IO

View file

@ -3,8 +3,9 @@ from __future__ import annotations
import argparse
import json
import sys
from collections.abc import Iterable
from collections.abc import Mapping
from collections.abc import Iterable, Sequence
from collections.abc import Sequence
from difflib import unified_diff