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
Arnaud Limbourg
0f4da5c1cf
Update link to YouCompleteMe
...
The source repository changed.
2019-07-03 14:20:31 -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
Linus Pithan
15bb9b29a2
adding test_kwarg_defaults to point out missing default value of kwargs in certain cases
2019-07-02 11:52:57 +02: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
mwchase
925fc89447
Get typing.NewType working ( #1344 )
...
Squashed from the following commits:
* Update pep0484.py
(I don't think I want to know why the cursor jumped to the beginning of the line with every keystroke in GitHub's online editor. Change was entered backwards.)
* Added test for inline use of NewType. Currently assuming that wrapped instances should get the underlying type.
* Altered tests per https://github.com/davidhalter/jedi/issues/1015#issuecomment-356131566
* Add NewTypeFunction to typing evaluation module
* Update AUTHORS.txt
* Add a new test, and a speculative justification
For now, address only the second comment
* Copy code from third comment on the PR
From inspection, I *believe* I understand what this code is doing, and as such, I believe this should cause the new test I added in response to the second comment to fail, because that test is based on faulty assumptions.
* Explicitly discard the key from the tuple
* Update pep0484_typing.py
* Test for the wrapped type, not the wrapper "type"
* Change the return value from calling a NewType
2019-07-01 22:42:59 -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
Nelson, Karl E
344a03e6b2
Fix for EmptyCompiledName
2019-06-24 23:51:19 +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
Nathaniel J. Smith
a62ba86d7b
Update parso requirement
...
Fixes #1348
2019-06-21 10:12:34 +02:00
Dave Halter
454447d422
Fix an invalid escape sequence
v0.14.0
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