Update most test/lint dependencies (#15582)

This commit is contained in:
renovate[bot]
2026-04-01 17:54:51 +02:00
committed by GitHub
parent 8ffc43610f
commit 8b31f2639e
142 changed files with 310 additions and 357 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ from ..pytree import Base
_N = TypeVar("_N", bound=Base)
def find_excepts(nodes: Iterable[_N]) -> Generator[tuple[_N, _N], None, None]: ...
def find_excepts(nodes: Iterable[_N]) -> Generator[tuple[_N, _N]]: ...
class FixExcept(fixer_base.BaseFix):
BM_compatible: ClassVar[Literal[True]]
+1 -1
View File
@@ -5,7 +5,7 @@ from typing import ClassVar, Literal
from .. import fixer_base
from ..pytree import Node
def traverse_imports(names) -> Generator[str, None, None]: ...
def traverse_imports(names) -> Generator[str]: ...
class FixImport(fixer_base.BaseFix):
BM_compatible: ClassVar[Literal[True]]
+1 -1
View File
@@ -8,7 +8,7 @@ from ..pytree import Node
MAPPING: Final[dict[str, str]]
def alternates(members): ...
def build_pattern(mapping=...) -> Generator[str, None, None]: ...
def build_pattern(mapping=...) -> Generator[str]: ...
class FixImports(fixer_base.BaseFix):
BM_compatible: ClassVar[Literal[True]]
+1 -1
View File
@@ -8,7 +8,7 @@ def has_metaclass(parent): ...
def fixup_parse_tree(cls_node) -> None: ...
def fixup_simple_stmt(parent, i, stmt_node) -> None: ...
def remove_trailing_newline(node) -> None: ...
def find_metas(cls_node) -> Generator[tuple[Base, int, Base], None, None]: ...
def find_metas(cls_node) -> Generator[tuple[Base, int, Base]]: ...
def fixup_indent(suite) -> None: ...
class FixMetaclass(fixer_base.BaseFix):
+1 -1
View File
@@ -7,7 +7,7 @@ MAPPING: Final[dict[str, dict[str, str]]]
LOOKUP: Final[dict[tuple[str, str], str]]
def alternates(members): ...
def build_pattern() -> Generator[str, None, None]: ...
def build_pattern() -> Generator[str]: ...
class FixRenames(fixer_base.BaseFix):
BM_compatible: ClassVar[Literal[True]]
+1 -1
View File
@@ -5,7 +5,7 @@ from .fix_imports import FixImports
MAPPING: Final[dict[str, list[tuple[Literal["urllib.request", "urllib.parse", "urllib.error"], list[str]]]]]
def build_pattern() -> Generator[str, None, None]: ...
def build_pattern() -> Generator[str]: ...
class FixUrllib(FixImports):
def build_pattern(self): ...
+2 -2
View File
@@ -69,8 +69,8 @@ class RefactoringTool:
def parse_block(self, block: Iterable[str], lineno: int, indent: int) -> Node: ...
def wrap_toks(
self, block: Iterable[str], lineno: int, indent: int
) -> Generator[tuple[int, str, tuple[int, int], tuple[int, int], str], None, None]: ...
def gen_lines(self, block: Iterable[str], indent: int) -> Generator[str, None, None]: ...
) -> Generator[tuple[int, str, tuple[int, int], tuple[int, int], str]]: ...
def gen_lines(self, block: Iterable[str], indent: int) -> Generator[str]: ...
class MultiprocessingUnsupported(Exception): ...