Commit Graph
100 Commits
Author SHA1 Message Date
Dave Halter 82d970d2b8 A small refactoring 2019-07-10 18:24:21 -07:00
Dave Halter 3ed9e836cc Make sure __wrapped__ works properly when using an Interpreter, fixes #1353 2019-07-10 16:12:57 -07:00
Dave Halter f984e8d6ef Small refactoring 2019-07-10 15:38:41 -07:00
Dave Halter 670cf4d394 Make API param names appear without leading double underscores, fixes #1357 again 2019-07-10 12:10:12 -07:00
Dave Halter e85fba844c Fix some call signature tests 2019-07-09 00:46:53 -07:00
Dave Halter ee5557ddf6 Make expected index work in Python 3 2019-07-09 00:37:33 -07:00
Dave Halter 42f72b219b Test both closing brackets and non-closing brackets for CallSignature.index 2019-07-09 00:16:53 -07:00
Dave Halter 374721b789 Fix a case with errors 2019-07-09 00:04:53 -07:00
Dave Halter 01cec186ae Move some code around 2019-07-08 22:52:04 -07:00
Dave Halter 3fb89f9f9b Fix some kwargs cases 2019-07-08 22:38:22 -07:00
Dave Halter a0b4e76c1a Fix some *args issues 2019-07-08 17:03:45 -07:00
Dave Halter 97bf83aa03 Deal better with some error nodes 2019-07-08 14:26:11 -07:00
Dave Halter ca7658cab7 Delete unused code 2019-07-08 13:29:46 -07:00
Dave Halter dd78f4cfbf Fix some error node handling for call signatures 2019-07-08 13:22:07 -07:00
Dave Halter 08019075c3 Fix CallSignature index for a looot of cases, fixes #1364,#1363 2019-07-08 12:40:58 -07:00
Dave Halter 943617a94f Use recursion rather than other stuff 2019-07-05 23:51:24 -07:00
Dave Halter d579c0ad57 Even more refactorings 2019-07-05 15:24:39 -07:00
Dave Halter 76c6104415 small name refactoring 2019-07-05 14:35:48 -07:00
Dave Halter ef9d803ce3 Refactor some call details 2019-07-05 14:30:59 -07:00
Dave Halter a26cb42d07 Disable a test for Python 2 2019-07-04 09:31:22 -07:00
Dave Halter 6b9b2836ba Fix pow() signature, fixes #1357
This commit changes how params starting with __ are viewed as positional only params
2019-07-04 00:29:57 -07:00
Dave Halter abdb8de89d Merge branch 'master' of github.com:davidhalter/jedi 2019-07-03 23:49:18 -07:00
Dave Halter ac492ef598 Fix signature to_string 2019-07-03 23:44:58 -07:00
Dave Halter 947bfe7b78 Fix an issue with keyword params, fixes #1356 2019-07-03 22:35:46 -07:00
Dave Halter be6c90d135 Simplify some test code for param defaults, see #1356 2019-07-03 19:43:32 -07:00
Dave Halter 8cb059deda Merge branch 'function_signature_in_interpreter' of https://github.com/linupi/jedi 2019-07-03 19:11:36 -07:00
Dave Halter de138e9114 Improve a bit of dataclasses support, so at least the attributes can be seen
see #1213
2019-07-03 09:21:57 -07:00
Dave Halter 4c132d94b9 Make sure in tests that pep 0526 variables are also able to be used when using self, see #933 2019-07-01 23:34:28 -07:00
Dave Halter cb95dbc707 Cannot use pytest 5 yet 2019-07-01 22:30:59 -07:00
Dave Halter 1e3b6a201d Fix filters for classes and functions 2019-07-01 22:24:29 -07:00
Dave Halter 3829ef4785 Fix some small things to get more tests passing 2019-07-01 21:52:03 -07:00
Dave Halter b382f06be0 A better repr for Definition 2019-07-01 19:40:06 -07:00
Dave Halter 94faceb57c Merge branch 'master' of github.com:davidhalter/jedi 2019-06-30 22:14:02 -07:00
Dave Halter a9ff58683e Fix ClassVar filter for instances 2019-06-26 22:56:30 +02:00
Dave Halter fafd6b2ac6 Keyword completions are no longer possible directly after a number, fixes #1085 2019-06-26 15:04:46 +02:00
Dave Halter 265abe1d08 Fix super call goto for multiple inheritance, fixes #1311 2019-06-24 09:53:56 +02:00
Dave Halter ebdae87821 goto should always goto definitions, fixes #1304 2019-06-24 01:25:26 +02:00
Dave Halter 56ec79d62a Fix star imports checks, fixes #1235 2019-06-22 16:45:56 +02:00
Dave Halter c413b486fb Actually import IsADirectoryError 2019-06-22 15:43:11 +02:00
Dave Halter cb0a0d228a Add 3.8 to supported versions 2019-06-22 14:45:22 +02:00
Dave Halter 3ae4a154f9 Fix project search if a directory is called manage.py, fixes #1314 2019-06-22 14:04:32 +02:00
Dave Halter aa2dc6be09 Return annotations for compiled objects now help to infer
However only if it's a type, if it's a string, it doesn't work, yet

Fixes #1347
2019-06-22 00:15:20 +02:00
Dave Halter 454447d422 Fix an invalid escape sequence 2019-06-20 21:43:52 +02:00
Dave Halter 02d10a3aff Some small CHANGELOG changes 2019-06-20 21:27:06 +02:00
Dave Halter 4479b866ff CompiledContext should not have a file 2019-06-20 20:30:23 +02:00
Dave Halter 907fdaa153 Fix some minor errors 2019-06-20 09:53:40 +02:00
Dave Halter b85c0db72e Fix a typo 2019-06-19 18:32:09 +02:00
Dave Halter 8852745cf3 Add stub files to the list of features 2019-06-19 18:30:02 +02:00
Dave Halter d1501527a2 Add a script for profiling pytest 2019-06-19 18:28:45 +02:00
Dave Halter ccd7939a92 Remove the linter, since it's no longer developed 2019-06-19 18:27:34 +02:00
Dave Halter db716d96e5 Use the same intro text in README 2019-06-19 18:25:59 +02:00
Dave Halter 5f81353182 Make the jedi documentation more concise 2019-06-19 18:25:11 +02:00
Dave Halter b71a851081 Write a better introduction text 2019-06-19 10:12:23 +02:00
Dave Halter 474dcb857a Some small docs improvements 2019-06-19 09:59:21 +02:00
Dave Halter 5ad0e3d72e Ignore some tests for Python 3.4, because it's end of life soon and the typing library doesn't exist for it 2019-06-19 01:37:16 +02:00
Dave Halter 2cf1797465 Caching for get_parent_scope 2019-06-18 10:04:10 +02:00
Dave Halter f2f54f2864 Create a better cache to avoid the amount of get_definition/is_definition calls in parso 2019-06-18 09:29:39 +02:00
Dave Halter 38232fe133 Fix issues with Python 3.7 tests 2019-06-15 22:26:34 +02:00
Dave Halter 4405c4f190 Skip stub tests for Python 2 2019-06-15 21:59:54 +02:00
Dave Halter c3a0fec2d9 Fix tests for stubs 2019-06-15 21:47:03 +02:00
Dave Halter 8e3caaca7f Improve the stub test a bit 2019-06-15 02:20:15 +02:00
Dave Halter 860f627f48 Merge branch 'master' of github.com:davidhalter/jedi 2019-06-15 02:14:29 +02:00
Dave Halter 3ddbee1666 Fix issues for socket 2019-06-15 02:07:30 +02:00
Dave Halter fc20faf8f8 Remove _apply_qualified_name_changes, because it's really not needed 2019-06-15 01:58:54 +02:00
Dave Halter 0749e5091a Apparently a change we made does not seem to be needed 2019-06-15 01:57:59 +02:00
Dave Halter e61949da66 Fix some collections.deque issues 2019-06-15 01:56:49 +02:00
Dave Halter fdad24cc0a Fix some test errors 2019-06-15 01:42:50 +02:00
Dave Halter 3ed30409ea Some progress in trying to make the deque work 2019-06-14 09:36:23 +02:00
Dave Halter d55d494e0a Merge pull request #1342 from JCavallo/ignore_unknown_super_calls
Ignore super calls when super class cannot be inferred
2019-06-14 00:28:08 +02:00
Dave Halter 4564275eba By default a name has no qualified names 2019-06-13 09:45:59 +02:00
Dave Halter 9b610c9760 Make sure there are proper tests for goto_assignments with prefer_stubs and only_stubs 2019-06-13 09:41:23 +02:00
Dave Halter 5a26d4cf8f Prefer stubs to Python names when starting to infer 2019-06-13 09:26:50 +02:00
Dave Halter a0adff9d36 Added Changelog for goto_* 2019-06-12 19:04:58 +02:00
Dave Halter ad2fbf71ba Move stub tests 2019-06-12 14:00:56 +02:00
Dave Halter 097b073d20 Undo the tensorflow speedups, because they seem to cause more harm than good, see #1116 2019-06-12 10:00:45 +02:00
Dave Halter ed092e6da7 Better error message, when typeshed is missing, see #1341 2019-06-12 00:08:54 +02:00
Dave Halter 78973a9f35 Move execute_evaluated to HelperContextMixin 2019-06-11 17:46:30 +02:00
Dave Halter f672d3329a Make sure that execute is always called with arguments 2019-06-11 09:37:24 +02:00
Dave Halter be269f3e1c Remove a print 2019-06-10 22:21:41 +02:00
Dave Halter c1047bef4f Ignore warnings for numpydocs 2019-06-10 21:41:15 +02:00
Dave Halter 1b0677ec55 Fix some test imports 2019-06-10 19:48:46 +02:00
Dave Halter 5ef0563abe Don't use stub_to_python_context_set anymore 2019-06-10 19:39:26 +02:00
Dave Halter 56d8945d17 Use convert_context function for docs lookup 2019-06-10 19:17:50 +02:00
Dave Halter 7f853a324a Fix a small copy paste fail 2019-06-10 19:05:03 +02:00
Dave Halter 7f3e55df02 Fix conversion for contexts 2019-06-10 18:56:37 +02:00
Dave Halter 144aa97c00 Fix imports for some tests 2019-06-10 17:41:29 +02:00
Dave Halter 9871fe2adf Be even more strict with numpy doctsring parsing, it should just be ignored if it fails in any ways 2019-06-10 17:40:39 +02:00
Dave Halter 95f3aed82c Eliminate more actual appearances 2019-06-10 16:16:34 +02:00
Dave Halter 8ba3e5d463 Change some names from actual -> python 2019-06-10 16:02:05 +02:00
Dave Halter c8937ccdbf Add only_stubs and prefer_stubs as parameters to goto_assignments/goto_definitions 2019-06-10 15:59:12 +02:00
Dave Halter 49f652a2ad Better comment 2019-06-10 03:27:33 +02:00
Dave Halter 12dbdbf258 qualified names for imports with relative paths have not been solved, yet 2019-06-10 03:20:54 +02:00
Dave Halter abba305f64 Better debugging 2019-06-10 03:19:32 +02:00
Dave Halter d4cccd452d Fix qualified_names for some cases 2019-06-10 03:17:50 +02:00
Dave Halter a555def6ca Use a different function signature instead of a separate goto_stubs function 2019-06-10 02:27:22 +02:00
Dave Halter 827a79861d Add tests for positional only params 2019-06-09 22:56:20 +02:00
Dave Halter 42b6e20729 Changes for 3.8: sync_comp_for instead of comp_for
Please also look at the changes for parso in its b5d50392a4058919c0018666cdfc8c3eaaea9cb5 commit
2019-06-09 18:05:34 +02:00
Dave Halter f3364a458c Better repr for DictFilter 2019-06-09 15:00:18 +02:00
Dave Halter 48b1b9a1aa Make sure that 3.8 is a supported Python environment going forward (and remove 3.3) 2019-06-08 02:11:45 +02:00
Dave Halter 787276366e Use the same environment in 3.8 for travis 2019-06-08 02:05:43 +02:00