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 31d0bd2 commit 54f3d59Copy full SHA for 54f3d59
mypy/semanal.py
@@ -7533,7 +7533,9 @@ def _get_names_in_scope(self) -> set[str]:
7533
if b and isinstance(b.node, MypyFile):
7534
# Only include public builtins (not _private ones)
7535
for builtin_name in b.node.names.keys():
7536
- if not (len(builtin_name) > 1 and builtin_name[0] == "_" and builtin_name[1] != "_"):
+ if not (
7537
+ len(builtin_name) > 1 and builtin_name[0] == "_" and builtin_name[1] != "_"
7538
+ ):
7539
names.add(builtin_name)
7540
7541
# Filter out internal/dunder names that aren't useful as suggestions
0 commit comments