Skip to content

Commit 7db4283

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8d8bb81 commit 7db4283

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

mypy/errors.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -237,13 +237,7 @@ class NonOverlapErrorInfo:
237237
kind: str
238238

239239
def __init__(
240-
self,
241-
*,
242-
line: int,
243-
column: int,
244-
end_line: int | None,
245-
end_column: int | None,
246-
kind: str,
240+
self, *, line: int, column: int, end_line: int | None, end_column: int | None, kind: str
247241
) -> None:
248242
self.line = line
249243
self.column = column

mypy/messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2536,7 +2536,7 @@ def iteration_dependent_errors(self, iter_errors: IterationDependentErrors) -> N
25362536
mypy.typeops.make_simplified_union(nonoverlaps[0]),
25372537
mypy.typeops.make_simplified_union(nonoverlaps[1]),
25382538
kind,
2539-
context
2539+
context,
25402540
)
25412541
for types, context in iter_errors.yield_revealed_type_infos():
25422542
self.reveal_type(mypy.typeops.make_simplified_union(types), context)

0 commit comments

Comments
 (0)