Skip to content

Commit 05d3898

Browse files
authored
1 parent d4e7a81 commit 05d3898

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ repos:
66
- id: trailing-whitespace
77
- id: end-of-file-fixer
88
- repo: https://github.com/psf/black-pre-commit-mirror
9-
rev: 24.10.0
9+
rev: 25.1.0
1010
hooks:
1111
- id: black
1212
exclude: '^(test-data/)'

mypy/test/testinfer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def expand_caller_kinds(
134134

135135

136136
def expand_callee_kinds(
137-
kinds_and_names: list[ArgKind | tuple[ArgKind, str]]
137+
kinds_and_names: list[ArgKind | tuple[ArgKind, str]],
138138
) -> tuple[list[ArgKind], list[str | None]]:
139139
kinds = []
140140
names: list[str | None] = []

mypy/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3205,12 +3205,12 @@ def get_proper_types(types: list[Type] | tuple[Type, ...]) -> list[ProperType]:
32053205

32063206
@overload
32073207
def get_proper_types(
3208-
types: list[Type | None] | tuple[Type | None, ...]
3208+
types: list[Type | None] | tuple[Type | None, ...],
32093209
) -> list[ProperType | None]: ...
32103210

32113211

32123212
def get_proper_types(
3213-
types: list[Type] | list[Type | None] | tuple[Type | None, ...]
3213+
types: list[Type] | list[Type | None] | tuple[Type | None, ...],
32143214
) -> list[ProperType] | list[ProperType | None]:
32153215
if isinstance(types, list):
32163216
typelist = types

0 commit comments

Comments
 (0)