Skip to content

Commit 6e1bcea

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/stubgen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ def visit_assignment_stmt(self, o: AssignmentStmt) -> None:
923923
and self.is_alias_expression(o.rvalue)
924924
and not self.is_private_name(lvalue.name)
925925
):
926-
is_type_alias = o.unanalyzed_type and getattr(o.type, 'name', None) == 'TypeAlias'
926+
is_type_alias = o.unanalyzed_type and getattr(o.type, "name", None) == "TypeAlias"
927927
if not o.unanalyzed_type or is_type_alias:
928928
self.process_typealias(lvalue, o.rvalue)
929929
continue

0 commit comments

Comments
 (0)