Skip to content

Commit 917a3eb

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

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
@@ -7536,7 +7536,9 @@ def _get_names_in_scope(self) -> set[str]:
75367536
if b and isinstance(b.node, MypyFile):
75377537
# Only include public builtins (not _private ones)
75387538
for builtin_name in b.node.names.keys():
7539-
if not (len(builtin_name) > 1 and builtin_name[0] == "_" and builtin_name[1] != "_"):
7539+
if not (
7540+
len(builtin_name) > 1 and builtin_name[0] == "_" and builtin_name[1] != "_"
7541+
):
75407542
names.add(builtin_name)
75417543

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

0 commit comments

Comments
 (0)