940 Commits

Author SHA1 Message Date
Dave Halter
e02fa9dc10 Upgrade Jedi to 8ef2ce232cebf6f30b41b28b2677d84666a97d55 2021-01-03 03:06:44 +01:00
Dave Halter
d7be014c54 Namespaces cannot be shown properly, fixes #815
This only works with Jedi commit 2ec3d72151d1072fa22861aef07ba6fc170e3781
Once using that commit, namespaces will be used properly.
2021-01-02 12:15:25 +01:00
Dave Halter
e96eba9f53 Use relative paths when accessing a buffer 2021-01-02 04:05:46 +01:00
Dave Halter
e4daf7a74c Fix a test around signatures that was failing sometimes 2021-01-02 04:05:24 +01:00
Dave Halter
3a1c900a26 Remove Python 2 stuff 0.11.0 2020-12-27 00:44:17 +01:00
Dave Halter
57757bd334 Merge pull request #1025 from davidhalter/jedi-api
Use the new Jedi API
2020-12-26 23:47:32 +01:00
Dave Halter
ea52ca5305 Try to use GitHub Actions 2020-12-26 23:38:46 +01:00
Dave Halter
04ba9a2430 A small fix 2020-12-25 17:44:22 +01:00
Dave Halter
dc0fdc55cb Updated jedi and parso 2020-12-25 12:45:23 +01:00
Dave Halter
a76965238a Fix the project choice 2020-10-23 17:45:40 +02:00
Dave Halter
6193c9fd95 Remove the Python 2 support
It should mostly still work (except for :Pyimport), but it won't pass all the tests anymore.
Since I'm dropping Python 2 in Jedi anyways, it makes sense to also remove it here.
2020-08-04 15:22:38 +02:00
Dave Halter
acbb712906 Try and update the CI from Ubuntu 16.04 to 18.04 2020-08-04 15:11:30 +02:00
Dave Halter
48b3e5c0e7 In older versions of VIM bufname needs an argument 2020-08-04 15:07:39 +02:00
Dave Halter
74fd73d017 Added an undocumented JediLoadProject for now 2020-08-01 13:32:48 +02:00
Dave Halter
6efd966481 Remove multi definition tests that are not really working anymore because of changes in Jedi 2020-08-01 12:01:54 +02:00
Dave Halter
862fbbc8a9 Add a choose-venv test 2020-08-01 11:16:57 +02:00
Dave Halter
87abaf0781 Fix goto issues 2020-08-01 00:30:54 +02:00
Dave Halter
01e6e6bcf7 Fix debug info 2020-08-01 00:15:46 +02:00
Dave Halter
2c157e323e Fix documentation tests 2020-08-01 00:12:24 +02:00
Dave Halter
6edda9063a Make choose environment buffer disappear if it's not visible anymore 2020-07-31 20:25:12 +02:00
Dave Halter
e23687462b Implement :JediChooseEnvironment 2020-07-31 15:06:09 +02:00
Dave Halter
104d817f0c environment_path needs to be defined properly 2020-07-30 18:37:27 +02:00
Dave Halter
2949389be4 Describe the environment_path option properly 2020-07-30 18:16:35 +02:00
Dave Halter
c4fc2cde8c Use projects instead of environments 2020-07-30 15:45:12 +02:00
Dave Halter
5858a999de Unify Pyimport and goto 2020-07-30 14:36:40 +02:00
Dave Halter
1e9bdc863a definition -> name, because Jedi calls it name now 2020-07-30 14:18:33 +02:00
Dave Halter
3a27747773 Use the project.search function 2020-07-30 14:00:16 +02:00
Dave Halter
4ca918e830 Use the new API instead of the deprecated one 2020-07-30 13:47:53 +02:00
Daniel Hahler
a17b033303 Update Jedi to v0.17.2 (#1023)
* pythonx/jedi 3ad3dc08...3b7106ae (203):
      > Fix a typo
      > Prepare for 0.17.2
      > Fix a Python 3.9 issue on travis
      > Properly negate with Interpreter, fixes #1636
      > Fix issues with generators, fixes #1624
      > Introduce py__next__ to have more clear way to use __next__
      > Merge pull request #1633 from mrclary/mrclary-fix-wingkinl-patch-python-environ
      > Fix dict completions for inherited dicts, fixes #1631
      > Refactor Interpeter completions a bit
      > Make sure the interpreter completions work better in Jupyter Notebook, fixes #1628
      > Fix an issue with interpreter completion, see also #1628
      > Making sure to note that Python 2 will not be supported after 0.17.2
      > Mention in Changelog that 3.9 is now supported
      > Add download badge
      > Some test skips
      > Revert some of the Decoratee changes
      > Some more signature adjustments
      > Change Decoratee slightly
      > Fix an issue with decoratee names
      > Add Project.path, fixes #1622
      > Fix the of a signature with a decorator
      > Fix docstrings for method decorators, fixes #1621
      > Make partial use the __doc__ of its function, fixes #1621
      > Merge pull request #1614 from PeterJCLaw/fix-decorator-factory-passthrough
      > Merge pull request #1623 from mallamanis/master
      > Remove a print
      > Typeshed third party libraries should not be loaded if they don't actually exist in the environment, fixes #1620
      > Add the env_vars change to CHANGELOG
      > Merge pull request #1619 from mrclary/subprocess-env-vars
      > Make sure that Callables are properly represented
      > Add Python 3.8 to the tox env list (#1618)
      > Use Python 3 in the deployment script
      > Prepare release 0.17.1
      > Make sure the current version doesn't install a parso version that is new
      > Small changelog improvement
      > Mention Django Manager support for managers/querysets in changelog
      > Add SyntaxError.get_message
      > Mention 3.9 support better
      > Fix decorator param completion
      > Merge branch 'django'
      > Merge branch 'master' of github.com:davidhalter/jedi
      > Fix some issues with sub class matching, fixes #1560
      > Better debugging output for is_sub_class_of
      > Ignore runtime_checkable, because we don't really need it
      > Fix a small extract_variable issue, fixes #1611
      > Try to get get the tests for Python 3.9 passing, fixes #1608
      > Make it possible to use inheritance on generics without always specifying type vars, see also discussion in #1593
      > Update MANIFEST.in
      > Make sure that scopes can only be exact values, see #1590
      > Merge pull request #1590 from muffinmad/references-scope
      > Fix a small issue with doctest completions, fixes #1585
      > Exclude more Linux constants in test_import
      > Merge pull request #1601 from yuan-xy/patch_3
      > Refactoring about checking \r\n (#1603)
      > fix typo (#1602)
      > fix typo
      > Merge pull request #1599 from isidentical/py38-plus-setuppy
      > Merge pull request #1595 from PeterJCLaw/operator-not-in
      > Import FileNotFoundError from jedi._compatibility
      > Merge pull request #1586 from PeterJCLaw/django-more-fields
      > Fix potential AttributeError in get_defintion_start_position/get_defintion_end_position, see #1584
      > Fix an error of get_definition_end_pos, see #1584
      > Refactor test_definition_start_end_position to use parametrize
      > definition_end_position -> get_definition_end_position, same for start, see #1584
      > Merge pull request #1584 from pappasam/get_definition_position
      > Fix tests in Python 2
      > Fix a small issue
      > Magic methods fixes for reverse methods
      > lists and tuples should not be added
      > Use __truediv__ instead of __div__
      > Fix an issue with Tuple generics
      > A few class renames
      > Better debugging
      > Skip another non-important Python 2 test that fails on Windows
      > Fix a namespace issue when getting references
      > Fix an about dict completions
      > Fix a None issue
      > Implement magic method return values, fixes #1577
      > Remove an unused cache method
      > Undefined api types should not return a random value
      > Add support for generic optional parameters (#1559)
      > Fix inline case where a name was removed without the code being used, fixes #1582
      > Make the diff nicer if there is no ending newline, fixes #1581
      > Merge pull request #1579 from muffinmad/pseudotreenameclass
      > Merge pull request #1572 from davidhalter/classvar
      > Reduce noise in signatures of compiled params (#1564)
      > Fix #1573 again; a tree_node can be None
      > Fix argument clinic unpacking, remove dynamic bullshit
      > This fixes two issues with the caching on Windows:
      > Fix getattr completions on very weird cases, fixes #1573
      > Fix tests
      > Remove the common folder and move it to a common file
      > Remove common.value
      > Move infer_type_vars to base_value
      > Merge pull request #1554 from PeterJCLaw/fix-nested-tuple-argument
      > Add .venv to _IGNORE_FOLDERS
      > Correct a test
      > Speed up signature fetching for MixedName, see discussion in #1422
      > Test that the actual signature of a function is used in Interpreter
      > Very small refactoring
      > Tell sith that goto_assignments is now goto
      > Merge pull request #1561 from PeterJCLaw/newtype-pyclass
      > Merge pull request #1553 from PeterJCLaw/generic-tuple-return
      > Allow files for get_default_project, fixes #1552
      > Don't display unnecessary help, fixes #1557
      > Pin Django in a different way so tests can work everywhere
      > Make sure that Django's values/values_list is tested (though not implemented
      > Properly implement inheritance for Django models
      > Make sure Django User inference works
      > Pin the Django test dependency
      > Mention django stubs support in README
      > Include Django stubs license in Jedi package
      > Some more django query tests
      > Infer many to many fields
      > Include Django stubs as a third party repo
      > Make sure that infering the Django User model works
      > Fix a recursion error issue
      > Remove unused imports
      > Fix typos in api.classes docstrings
      > Remove a redundant check from Name.desc_with_module
      > Actually fix #1556, forgot to add this in 94d374c9ceeb16ea1c6fe49b8e039d415c7dbe5a
      > Start changelog for 0.17.1
      > Fix a small issue with the help method, fixes #1556
      > Django is not supported for Python 2
      > Work with a NameWrapper, so Django goto works better
      > Fix another django modelfield issue
      > Some nitpicks
      > Fix another issue with foreign keys
      > Fix ForeignKey issues with invalid values
      > Some other small refactorings
      > Refactor a few things for django
      > Remove old third party django tests
      > Use debug instead of print for Django and fix indentation, see #1467
      > Make Django test optional
      > Merge branch 'master' of https://github.com/ANtlord/jedi
      > Better developer tools
      > Make the linter completely private
      > Make sure that calling Jedi with a random argument in CLI results in errors
      > Fix a small _get_annotated_class_object, fixes #1550
      > Also don't complete keywords if kwargs only are allowed, see #1541
      > Completion: Don't suggest variables when only kwargs are legal, fixes #1541
      > fix #1548
      > * Use an explicit environment for subprocess to ensure that existing environment variables are not inherited. This ensures more reliable results, see issue #1540. * Attempt to send SYSTEMROOT variable to Windows subprocess
      > Sort test_project::test_search results to fix failures
      > Inc difference limit in TestSetupReadline::test_import for py3.8
      > Project._python_path -> Project.environment_path
      > Set the release date in Changelog
      > Some README improvements
      > Extract now properly validates line/column and those two params are required
      > Some minor CHANGELOG changes
      > Upgrade parso version
      > Fix a small issue
      > Some more code quality fixes
      > Some code cleanups
      > Don't reuse a variable
      > Remove unreachable code
      > _convert_names kwargs are not needed
      > Add pyproject.toml to the list of files to search for projects
      > Use the interpreter environment if the executable is not available, fixes #1531
      > Fix a potential AttributeError
      > Add a comment to clarify the Type case
      > Avoid AttributeErrors for generics when a module is passed
      > Merge branch 'improve-type-annotation-inference-refactors' of https://github.com/PeterJCLaw/jedi
      > Merge branch 'improve-type-annotation-inference' of https://github.com/PeterJCLaw/jedi
      > If branch inference should not trigger for things we don't know, fixes #1530
      > Fix string completion issue, fixes #1528
      > Fix wrong types for iterate, fixes #1524
      > Fix stub conversion for Decoratee, so docstrings work, see #117
      > Remove unused environment param
      > Fix a Python 2 test
      > Merge branch 'refactor'
      > Merge branch 'project'
      > Included statement as a possible return type for BaseDefinition.type
      > Fix partialmethod issues
      > Make sure partialmethod tests are only executed for Python 3
      > Merge branch 'add-partialmethod' of https://github.com/ffe4/jedi
      > Merge branch 'expandtab' of https://github.com/Carreau/jedi
      > Changed semantics of ClassVar attributes in classes, fixes #1502
      > Avoid duplicate definitions for goto, fixes #1514
      > Merge _remove_statements and infer_expr_stmt, fixes #1504
      > Fix namedtuple docstring/signature issues, fixes #1506
      > Fix a getattr_static issue, fixes #1517
      > Disable some more tests for Python 2
      > Make InterpreterEnvironment public
      > is_typeddict should be part of ClassMixin
      > Don't continue searching for values if an annotation is found
      > TypedDict checking should be at a later point
      > Simplify tests a bit
      > Merge branch 'typeddict' of https://github.com/pappasam/jedi
      > Update sith's module docstring to match the available operations
      > Remove the word 'class' from annotation_string
      > Add a couple of docstrings
      > Tell sith that 'completions' became 'complete'
      > Add venv to .gitignore
      > Remove additional prefix which seems incorrect
      > Update use of _source which no longer exists to _code
      > Make sure to move up VSCode, because it's used a lot
      > Revert "Make sure to mention that VSCode is using Jedi"
      > Make sure to mention that VSCode is using Jedi
      > Fix a test issue
      > Actually use follow_builtin_imports and improve the goto docstring, fixes #1492
      > Catch an error with illegal class instances, fixes #1491
      > Make Ellipsis without list in Callable work, fixes #1475
2020-07-17 23:14:17 +02:00
Dave Halter
a0207fadf9 Instead of zip completions (for tests) use something else, see discussions in #1020 2020-06-30 09:24:28 +02:00
Maxim Belkin
e83112f9aa doc/jedi-vim.txt: fix apostrophe (#1002) 2020-03-07 21:38:13 +01:00
Daniel Hahler
b2e8c65e35 Improve/harden jedi#setup_python_imports
In particular it should not try to import `jedi_vim_debug` during error
handling "unprotected", which might hide the real error on Python 2 at
least.

Ref: https://github.com/davidhalter/jedi-vim/issues/998#issuecomment-592305240
2020-03-05 21:06:06 +01:00
Daniel Hahler
686f39ac00 Fix jedi#add_goto_window: use :copen to go to the qf window always
Without this it would not go there with an already open qf window, and
would go to an unexpected buffer line instead of selecting the entry.

This is a follow-up to b689409, where it was decided that it should
always require the user to select an entry.

An exception is when the same usages are used again: then it will select
the nearest/current entry only (via ":cc").
2020-02-27 20:41:45 +01:00
Daniel Hahler
055199f2aa show_goto_multi_results: handle full_name=None
Seen with `<Definition name='key', description='param key'>` (using
usages on an function argument) [1].

1: https://github.com/pytest-dev/py/blob/2b6bd2925/py/_vendored_packages/iniconfig.py#L32-L33
2020-02-27 20:40:11 +01:00
Daniel Hahler
8d24b83754 Merge pull request #993 from blueyed/cover-jedi_debug_info
tests: cover jedi_debug_info
2020-02-03 01:43:09 +01:00
Daniel Hahler
a3696bee36 ci: upload coverage always 2020-02-03 01:37:10 +01:00
Daniel Hahler
5d4658f989 tests: cover jedi_debug_info 2020-02-03 01:37:10 +01:00
Daniel Hahler
18b1a519b0 Update parso/jedi (v0.6.0, v0.16.0+) (#991) 2020-02-03 01:36:04 +01:00
Daniel Hahler
acb98fc706 show_call_signatures: doc, default to 2 without 'conceal' (#994)
It basically allows to give a warning when '1' is used / set explicitly, and
the 'conceal' feature is not available.

Also defaulting to '2' (cmdline mode) then seems better than not using
it.

This is just some minor clean up before
https://github.com/davidhalter/jedi-vim/pull/652.
2020-02-03 01:31:10 +01:00
Daniel Hahler
e99cfd32de Update submodule pythonx/jedi afbd8cad...3ad3dc08
* pythonx/jedi afbd8cad...3ad3dc08 (197):
      > Run get_type_hint tests only for 3.6+
      > Stubs should not become stubs again in the conversion function, fixes #1475
      > Make sure to print errors in __main__ completions
      > Make sure param hints are working for functions
      > Generate type hints, fixes #987
      > Bump version to 0.16.1
      > Make sure to be able to deal with all kinds of loaders, fixes #1487
      > Make generators return more correct values with while loops, fixes #683
      > Avoid aborting search for yields when they are still reachable, see #683
      > Jedi understand now when you use del, fixes #313
      > Remove dead code
      > Remove Python 3.3 from environment tests
      > Make sure to skip some tests for Python 3.5
      > Small Changelog updates
      > Fix a small signature issue
      > Create a private helper to test completions
      > Fix an issue with names
      > compiled_object -> compiled_value
      > Remove dead code
      > CompiledObject -> CompiledValue
      > CompiledValue -> ExactValue
      > Revisit caching of mixed
      > Make MixedName a Namewrapper instead of inheritance
      > Remove underscore_memoization caching method
      > Refactor MixedName quite a bit
      > Fix issue with mixed objects, fixes #1480
      > Remove some dead code
      > Prepare a test for #1479
      > Avoid a print in tests
      > Fix value/context mixup in mixed, fixes #1479
      > Clarify that for Python 2 we will not fix bugs anymore
      > Skip a test in Python 2
      > Use is_compiled instead of isinstance checks
      > Create CompiledModule to have a better differentiation between compiled modules and compiles values
      > Make sure that the builtin docstring works again for infer calls
      > Fix a bug with version_info, fixes #1477
      > Make sure that del_stmt as a name can be handled, see #313
      > Remove use_filesystem_cache and additional_dynamic_modules, it hasn't been implemented for a long time
      > Removed settings.no_completion_duplicates
      > Make sure to stop gathering buildout paths at a certain point, fixes #1325
      > Rewrite some whitespace
      > Reformat the changelog a bit
      > Add follow_imports to Definition.goto, fixes #1474
      > Raise a proper exception instead of assert in case only_stubs and prefer_stubs are given
      > Make sure a certain test passes as well with tox
      > Fix a Python 2 issue
      > Rename Script.names to Script.get_names, fixes #1476
      > find_signatures -> get_signatures, see #1476
      > find_references -> get_references, see #1476
      > Fix remaining tests
      > Reduce limits of files to parse by quite a bit
      > Make sure that CompiledObject doesn't have a file_io
      > Use different limits for references and dynamic calls
      > Explain why the references limits were chosen
      > Start limiting opened files and parsed files for references
      > Remove a few imports
      > Make sure to not scan the same directory multiple times
      > Don't search for usages when we are working with params
      > Ignore .gitignore in get_references and therefore make get_references usable again
      > Revisit reference finding, scan a lot of folders
      > Added FolderIO.walk and FolderIO.get_base_name
      > Move get_module_contexts_containing_name to the references module
      > Apparently this one variable is needed
      > Small changelog fix
      > Forgot to use sudo for installing dependencies in travis
      > Another few travis fixes
      > Don't run some usage tests on Python 2
      > Interpreter test fix for travis config
      > Add a few more stub usage tests
      > Disable flow analysis for finding usages
      > Add another stub usage test
      > Fix stub conversion
      > Make sure to find both stubs and non-stubs with usages
      > Use the proper fixture
      > Implement interpreter test on travis
      > Get interpreter environment tests working
      > Make sure tests are proper packages, so that pytest doesn't do shenannigans with sys path
      > Remove NestedImportModule, because it hasn't been used in years
      > Refactor execute_operation a bit
      > Finally get rid of call_of_leaf
      > Refactor the isinstance checks a bit
      > Makes sure examples are excluded from pytest
      > speed test to examples
      > Move not_in_sys_path tests to examples
      > Move namespace tests to examples
      > Moved zipped imports test files
      > Move sample_venvs to examples
      > Move the extension test to examples
      > Move another test to examples
      > Remove unused test code
      > Move implicit namespace package code to example dir
      > Move flask tests to examples folder
      > Move the absolute import test files
      > Avoid a bug that a compiler might have found, fixes #1469
      > Make sure the latest changes work with Python 3.6/3.7
      > Properly convert compiled values to generic classes
      > Make Union/Optional works with compiled objects
      > Make sure that CompiledValue can deal with string annotations
      > Avoid a few warnings
      > Skip a test that doesn't work in Python 2
      > Remove a statement that didn't make sense
      > Remove a method that was not necessary
      > Fix a bug where parent_context was a value
      > Fix some issues with converting names, see #1466
      > Use one single way to convert stubs to Python, see #1466
      > Make sure to use _stub_to_python_value_set for all conversions, see #1466
      > Make sure fixture resolving works in conftest.py, see #791
      > Fix signatures when used for Generic classes, fixes #1468
      > Make sure inheritance works for fixtures, fixes #791
      > Add a test to check if numpy tensorflow stuff is now cached, see #1116
      > Make sure to check the module cache before loading a module (again)
      > Add a completion cache for numpy/tensorflow, fixes #1116
      > Ignore processing param names, fixes #520
      > Avoid using params in tests and use get_signatures().params
      > Make sure params have no name
      > Make sure that kwargs are not repeated when they are inferred
      > Undo finding signatures for everything and only do it for stubs and non-statements for when used in docstrings
      > Fix an issue with the is_big_annoying_library function, see #520
      > Make sure decorators are also not inferred for big annoying libraries, see #520
      > Make sure the repr of compiled access isn't huge
      > Disable some features for big annoying libraries like pandas, tensorflow, see #520
      > Fix a debug message
      > Fix a small issue
      > Little refactoring
      > Remove the old definition tests
      > Remove get_signatures again from names
      > Infer doctests and signatures uniformly, fixes #1466
      > Fix a small pytest fixture bug
      > Raise a deprecation warning on Definition.params
      > Remove a weird assert
      > Make sure coverage works again
      > Use Python 3.7 for calculating test coverage
      > Remoeve dead code
      > Remove unnecessary code
      > Separate getting docstrings and getting signatures for names, see discussion #1466
      > LazyInstanceClassName -> Use NameWrapper
      > Make sure that equals will only be added to keyword arguments and not just randomly
      > Make some test code prettier
      > Remove some skips around attribute docstrings
      > Add some more dict completion tests with whitespace
      > Change ModuleValue param order and add defaults
      > Make sure to pass tests again on Python 3.4
      > Make sure that include_signature always works, fixes #1466
      > Add a test for #1465
      > Skip dict key completion tests for Python 3.5, because it's just annoying with all the f-string stuff
      > Revert "Use the root implementation for get_root_context"
      > Added debug.warning to coveragerc, it's not relevant
      > Remove unused code
      > Use the root implementation for get_root_context
      > Add github sponsor FUNDING.yml file
      > Merge branch 'qa' of https://github.com/blueyed/jedi
      > Get rid of most flake8 errors
      > Get rid of a lot of flake8 errors
      > Make sure to get completions for backticks in docstrings work, see #860
      > Some more clarifications around docstrings, see #860
      > Get doctest completions working, fixes #860
      > Fix tests, skip more Python 2
      > Make sure test prefixed functions are checked for pytest fixtures, see #791
      > Make sure pytester is also used for fixtures, see #791
      > Clarify a sentence around virtualenv security, see #1250
      > Add the CHANGELOG entries for dict completions.
      > Merge branch 'dict', fixes #951
      > Make sure to mention that Jedi understands Pytest fixtures
      > Fix namedtuple issues that were uncovered by the 'self' changes
      > Self manipulations are now more correct, fixes #1392
      > Skip pytest tests when environments is not the same one
      > Make sure pytest stdlib fixtures are completable
      > Make sure the monkeypatch fixture completion works
      > Merge branch 'pytest', fixes parts of #791
      > Make sure py__name__ and name are defined on all values
      > Fix tests
      > Keyword completion after ... should not work, fixes davidhalter/jedi-vim#506
      > Fix python 2 environment finalizing, fixes #1412
      > Remove a function that did nothing anymore
      > Make sure modules for dynamic searches are not checked twice
      > Make sure classmethod param completion works better for the first param
      > Make sure staticmethod params are (mostly) inferred correctly, fixes #735
      > Python 2 test fixes
      > Add the fix for #997 to the changelog
      > Goto on a function/attribute in a class now goes to the definition in its super class, fixes #1175
      > Fix a few tests
      > Add support for completion even when __getattr__ is present, fixes #997
      > Fix an error recovery goto issue, fixes davidhalter/jedi-vim#962
      > Add a test to make sure some renamings work always
      > Refactor references: Matching more names that might be related
      > Catch an additional case for get_context where the cursor is e.g. on the function name
      > Add Script().get_context, fixes #253
      > Fix some issues with Definition.parent()
      > Test parents a bit better
      > Refactor tests a bit
      > Attribute docstrings work now, fixes #138
      > Avoid some duplication of code
      > Remove the _Help class completely
      > Move the docstring checking code to the names
      > Add the Script.help function, fixes #392
      > Add big API changes to Changelog
      > Merge branch 'api', fixes #1166
2020-02-03 01:27:40 +01:00
Daniel Hahler
41ecaa5c15 Update submodule pythonx/parso fb010f2...c864ca6
* pythonx/parso fb010f2...c864ca6 (14):
      > Bump version to 0.6.0
      > Make sure iter_funcdefs includes async functions with decorators, fixes #98
      > Add a bit to the changelog
      > del_stmt is now considered a name definition
      > Forgot to increase the pickle version
      > Revision on fstring issues (#100)
      > Revision on assignment errors (#97)
      > Add a Changelog note about dropping 2.6/3.3
      > Fix a Python 2.7 issue
      > Get rid of Python 3.3 artifacts
      > Remove Python 2.6 grammar
      > Merge branch 'rm-2.6' of https://github.com/hugovk/parso
      > Make sure to limit the amount of cached files parso stores, fixes davidhalter/jedi#1340
      > Fix simple typo: utitilies -> utilities
2020-02-03 01:27:31 +01:00
Dave Halter
5dd5631027 Merge pull request #990 from blueyed/fix-goto
Fix "goto" with multiple results
2020-02-02 18:53:08 +01:00
Daniel Hahler
b689409a2a Do not use :cc, but only select the line in the qf window
Ref: https://github.com/davidhalter/jedi-vim/pull/990#issuecomment-580163737
2020-02-02 07:20:43 +01:00
Daniel Hahler
ea4de13344 Minor CI/test improvements (#992)
* ci: Travis: pip-list, nvim-version

* tests: remove unused fixture argument
2020-02-02 07:10:11 +01:00
Daniel Hahler
1f7bc2a0fb Fix "goto" with multiple results
E.g. with `os.path`.
2020-01-29 19:20:12 +01:00
Aleksandrs Stier
c9bdefca54 doc: goto_stubs mapping <leader>s (#989)
Co-Authored-By: Daniel Hahler <github@thequod.de>
2020-01-24 20:11:02 +01:00
Daniel Hahler
e8790b1d8f minor: rewrite/expand show_documentation (#980)
* minor: rewrite/expand show_documentation

* tests: improve 'documentation docstrings'
2020-01-17 13:48:22 +01:00
Daniel Hahler
e2abec21c5 VimError: include throwpoint
This is helpful information to have in case of errors.
2020-01-14 21:09:35 +01:00
Daniel Hahler
c0ded0baf2 ci: add codecov.yml to disable comments (#981) 2020-01-10 19:59:28 +01:00
Daniel Hahler
7dfc56992a ci: Travis: test with py38 also 2020-01-10 17:51:51 +01:00