14 Commits
Author SHA1 Message Date
immerrr 3f5ac0cf56 test_param_docstring: use all_scopes=True to ensure param is extracted 2018-10-18 14:47:20 +03:00
immerrr 1e8674b51c get_module_names: fix "all_scopes=False" handling
Previously, names defined within the scope of first-level classes or functions
were returned.
2018-10-18 14:47:20 +03:00
immerrr a8401f6923 Add failing test for jedi.api.names(..., all_scopes=False) 2018-10-18 13:54:33 +03:00
immerrr 45642cc16c .coveragerc: exclude imported site.py 2015-10-26 14:23:24 +03:00
immerrr f634db7a20 jedi.api.Script: document sys_path parameter and VIRTUAL_ENV variable 2015-10-26 13:37:18 +03:00
immerrr cc139e8f70 evaluate.site: copy/adapt site-packages related functionality from stdlib 2015-10-26 13:03:42 +03:00
immerrr fb592ad028 test_imports: add test to ensure caching works with sys_path 2015-10-26 13:03:42 +03:00
immerrr 90a08794ba test_imports: use sys_path 2015-10-26 13:03:42 +03:00
immerrr da4dbe81a9 sys_path: order egg-link files for reproducible test results 2015-10-26 13:03:42 +03:00
immerrr f500457100 sample_venvs: exclude venvs dir from py.test discovery 2015-10-26 13:03:42 +03:00
immerrr 4eb3cf7921 Improve virtualenv support & egg-link resolution
- add sys_path= kwarg to Script & Evaluator constructors

- store sys_path for each evaluator instance

- replace get_sys_path with get_venv_path

- get_venv_path: use addsitedir to load .pth extension files

- get_venv_path: look for egg-link files in all directories in path
2015-10-26 13:03:42 +03:00
immerrr a6512f7702 Move clean_jedi_cache fixture to top-level conftest.py
Otherwise doctest module running in jedi/ subdirectory will not find it.
2015-10-21 18:04:32 +03:00
immerrr c88f251206 travis.yml: run on new infrastructure 2015-10-21 18:04:32 +03:00
immerrr 194d87bbad Add basic numpydoc support 2014-07-27 12:51:31 +04:00