Skip to content

Commit 54f3d59

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 31d0bd2 commit 54f3d59

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mypy/semanal.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7533,7 +7533,9 @@ def _get_names_in_scope(self) -> set[str]:
75337533
if b and isinstance(b.node, MypyFile):
75347534
# Only include public builtins (not _private ones)
75357535
for builtin_name in b.node.names.keys():
7536-
if not (len(builtin_name) > 1 and builtin_name[0] == "_" and builtin_name[1] != "_"):
7536+
if not (
7537+
len(builtin_name) > 1 and builtin_name[0] == "_" and builtin_name[1] != "_"
7538+
):
75377539
names.add(builtin_name)
75387540

75397541
# Filter out internal/dunder names that aren't useful as suggestions

0 commit comments

Comments
 (0)