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 115b831 commit ac38021Copy full SHA for ac38021
1 file changed
mypy/semanal.py
@@ -7529,7 +7529,9 @@ def _get_names_in_scope(self) -> set[str]:
7529
if b and isinstance(b.node, MypyFile):
7530
# Only include public builtins (not _private ones)
7531
for builtin_name in b.node.names.keys():
7532
- if not (len(builtin_name) > 1 and builtin_name[0] == "_" and builtin_name[1] != "_"):
+ if not (
7533
+ len(builtin_name) > 1 and builtin_name[0] == "_" and builtin_name[1] != "_"
7534
+ ):
7535
names.add(builtin_name)
7536
7537
# Filter out internal/dunder names that aren't useful for suggestions and might introduce noise
0 commit comments