1
0
forked from VimPlug/jedi

add a setting auto_import_modules to fix autocompletion for modules that use setattr and companions a lot. fixes #151

This commit is contained in:
Dave Halter
2014-06-25 17:14:31 +02:00
parent 01869e4100
commit e5efd6e5c8
2 changed files with 11 additions and 1 deletions
+8
View File
@@ -42,6 +42,7 @@ Dynamic stuff
.. autodata:: dynamic_params
.. autodata:: dynamic_params_for_other_modules
.. autodata:: additional_dynamic_modules
.. autodata:: auto_import_modules
.. _settings-recursion:
@@ -179,6 +180,13 @@ dynamic_flow_information = True
Check for `isinstance` and other information to infer a type.
"""
auto_import_modules = ['hashlib']
"""
Modules that are not analyzed but imported, although they contain Python code.
This improves autocompletion for libraries that use ``setattr`` or
``globals()`` modifications a lot.
"""
# ----------------
# recursions
# ----------------