1
0
forked from VimPlug/jedi

Disable flow analysis for finding usages

This commit is contained in:
Dave Halter
2020-01-14 18:37:10 +01:00
parent a098bf28af
commit df7080c1da
5 changed files with 18 additions and 5 deletions

View File

@@ -43,7 +43,8 @@ def _get_flow_scopes(node):
def reachability_check(context, value_scope, node, origin_scope=None):
if is_big_annoying_library(context):
if is_big_annoying_library(context) \
or not context.inference_state.flow_analysis_enabled:
return UNSURE
first_flow_scope = get_parent_scope(node, include_flows=True)