forked from VimPlug/jedi
PEP8 indentation of multiline expressions
This commit is contained in:
@@ -168,10 +168,9 @@ def get_names_of_scope(scope, position=None, star_search=True,
|
|||||||
# Ignore the Flows, because the classes and functions care for that.
|
# Ignore the Flows, because the classes and functions care for that.
|
||||||
# InstanceElement of Class is ignored, if it is not the start scope.
|
# InstanceElement of Class is ignored, if it is not the start scope.
|
||||||
if not (scope != non_flow and scope.isinstance(pr.Class)
|
if not (scope != non_flow and scope.isinstance(pr.Class)
|
||||||
or scope.isinstance(pr.Flow)
|
or scope.isinstance(pr.Flow)
|
||||||
or scope.isinstance(er.Instance)
|
or scope.isinstance(er.Instance)
|
||||||
and non_flow.isinstance(er.Function)
|
and non_flow.isinstance(er.Function)):
|
||||||
):
|
|
||||||
try:
|
try:
|
||||||
if isinstance(scope, er.Instance):
|
if isinstance(scope, er.Instance):
|
||||||
for g in scope.scope_generator():
|
for g in scope.scope_generator():
|
||||||
|
|||||||
Reference in New Issue
Block a user