Skip to content

Commit 5825537

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

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
@@ -7534,7 +7534,9 @@ def _get_names_in_scope(self) -> set[str]:
75347534
if b and isinstance(b.node, MypyFile):
75357535
# Only include public builtins (not _private ones)
75367536
for builtin_name in b.node.names.keys():
7537-
if not (len(builtin_name) > 1 and builtin_name[0] == "_" and builtin_name[1] != "_"):
7537+
if not (
7538+
len(builtin_name) > 1 and builtin_name[0] == "_" and builtin_name[1] != "_"
7539+
):
75387540
names.add(builtin_name)
75397541

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

0 commit comments

Comments
 (0)