We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c7e979 commit 6e1bceaCopy full SHA for 6e1bcea
mypy/stubgen.py
@@ -923,7 +923,7 @@ def visit_assignment_stmt(self, o: AssignmentStmt) -> None:
923
and self.is_alias_expression(o.rvalue)
924
and not self.is_private_name(lvalue.name)
925
):
926
- is_type_alias = o.unanalyzed_type and getattr(o.type, 'name', None) == 'TypeAlias'
+ is_type_alias = o.unanalyzed_type and getattr(o.type, "name", None) == "TypeAlias"
927
if not o.unanalyzed_type or is_type_alias:
928
self.process_typealias(lvalue, o.rvalue)
929
continue
0 commit comments