Skip to content

Commit ac38021

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 115b831 commit ac38021

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

mypy/semanal.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7529,7 +7529,9 @@ def _get_names_in_scope(self) -> set[str]:
75297529
if b and isinstance(b.node, MypyFile):
75307530
# Only include public builtins (not _private ones)
75317531
for builtin_name in b.node.names.keys():
7532-
if not (len(builtin_name) > 1 and builtin_name[0] == "_" and builtin_name[1] != "_"):
7532+
if not (
7533+
len(builtin_name) > 1 and builtin_name[0] == "_" and builtin_name[1] != "_"
7534+
):
75337535
names.add(builtin_name)
75347536

75357537
# Filter out internal/dunder names that aren't useful for suggestions and might introduce noise

0 commit comments

Comments
 (0)