1
0
forked from VimPlug/jedi

Fix a formatting issue in CI

This commit is contained in:
Dave Halter
2022-11-11 17:54:57 +01:00
parent f454989859
commit 94e78340e1

View File

@@ -586,7 +586,7 @@ class SelfAttributeFilter(ClassFilter):
if self._is_in_right_scope(trailer.parent.children[0], name): if self._is_in_right_scope(trailer.parent.children[0], name):
yield name yield name
elif trailer.type == "expr_stmt" \ elif trailer.type == "expr_stmt" \
and len(trailer.parent.children) == 2: and len(trailer.parent.children) == 2:
if name.is_definition() and self._access_possible(name): if name.is_definition() and self._access_possible(name):
if trailer.children[1].type == "annassign": if trailer.children[1].type == "annassign":
yield name yield name