Dave Halter
5a3565785c
Add pyproject.toml to the list of files to search for projects
2020-04-11 00:51:28 +02:00
Dave Halter
0f2a7215bb
Use the interpreter environment if the executable is not available, fixes #1531
2020-04-02 20:59:35 +02:00
Dave Halter
61e9371849
Fix a potential AttributeError
2020-04-02 00:32:50 +02:00
Dave Halter
dde40b3a71
Add a comment to clarify the Type case
2020-04-02 00:23:38 +02:00
Dave Halter
ebb2786748
Avoid AttributeErrors for generics when a module is passed
2020-04-01 01:59:13 +02:00
Dave Halter
28f256d2a6
Merge branch 'improve-type-annotation-inference-refactors' of https://github.com/PeterJCLaw/jedi
2020-04-01 00:54:25 +02:00
Dave Halter
883f5a3824
Merge branch 'improve-type-annotation-inference' of https://github.com/PeterJCLaw/jedi
2020-04-01 00:54:13 +02:00
Dave Halter
ac33d5dea3
If branch inference should not trigger for things we don't know, fixes #1530
2020-03-31 22:46:31 +02:00
Dave Halter
604029568c
Fix string completion issue, fixes #1528
2020-03-26 15:47:27 +01:00
Peter Law
eac5ac8426
Update comment after refactor moved code
2020-03-25 22:35:12 +00:00
Peter Law
7e9ad9e733
Fix typo
2020-03-25 22:32:53 +00:00
Peter Law
e2090772f3
Push tuple handling onto Tuple class
...
This resolves a TODO to avoid using a private method
2020-03-22 16:04:39 +00:00
Peter Law
525b88e9f1
Simplify early-exit code by having it once
2020-03-22 15:49:31 +00:00
Peter Law
3c90a84f68
Extract common get_generics() calls
...
These no longer need to be guarded by the conditions now that we
know these types are generic anyway.
2020-03-22 15:47:46 +00:00
Peter Law
ea33db388b
Remove dict merging where it doesn't do anything
...
These cases are all at the end of a single-path branch that ends
up "merging" against an empty mapping which is then returned
unchanged.
2020-03-22 15:45:18 +00:00
Peter Law
f68d65ed59
Push much looping and merging of infering type vars into ValueSet
2020-03-22 15:29:11 +00:00
Peter Law
3c7621049c
Extract annotation inference onto annotation classes
...
This removes the _infer_type_vars util in favour of a polymorphic
implementation, removing the conditional checks on the type of
the annotation instance.
While for the moment this creates some circular imports, further
refactoring to follow should be able to remove those.
2020-03-22 15:29:11 +00:00
Peter Law
dd60a8a4c9
Extract nested function which is going to be used elsewhere
2020-03-22 15:20:58 +00:00
Peter Law
5bd6a9c164
Rename function which is going to be used elsewhere
2020-03-22 15:18:41 +00:00
Peter Law
c743e5d9f3
Push type check into helper
2020-03-22 15:14:01 +00:00
Peter Law
5ca69458d4
Add testing for mismatch cases
...
This should help catch any errors in our handling of invalid cases.
While some of these produce outputs which aren't correct, what
we're checking here is that we don't _error_ while producing that
output.
Also fix a case which this showed up.
2020-03-22 15:10:43 +00:00
Dave Halter
bb9731b561
Fix wrong types for iterate, fixes #1524
2020-03-21 18:09:03 +01:00
Dave Halter
a2f4d1bbe7
Fix stub conversion for Decoratee, so docstrings work, see #117
2020-03-21 17:23:27 +01:00
Dave Halter
88c13639bc
Remove unused environment param
2020-03-21 03:19:39 +01:00
Dave Halter
28c1ba6c1c
Fix a Python 2 test
2020-03-21 03:13:59 +01:00
Dave Halter
a2764283ba
Merge branch 'refactor'
2020-03-21 02:54:07 +01:00
Dave Halter
0ffd566957
Merge branch 'project'
2020-03-21 02:52:51 +01:00
Dave Halter
5b54ac835d
Fix deprecations in tests
2020-03-21 02:42:00 +01:00
Dave Halter
5f6a25fb58
Add deprecations warnings, to deprecated functions in the main API
2020-03-21 02:30:07 +01:00
Dave Halter
d6d9286242
Get rid of deprecations in tests
2020-03-21 02:15:57 +01:00
Dave Halter
4c964ae655
Fix some test results
2020-03-21 01:52:56 +01:00
Dave Halter
8000d425ec
Don't use desc_with_module in integration tests
2020-03-21 01:47:00 +01:00
Dave Halter
c7cd84b1a4
Rework the introduction of the README/docs
2020-03-21 01:25:58 +01:00
Dave Halter
6a89599fa5
Rework badges
2020-03-19 10:12:52 +01:00
Dave Halter
5f40fa9bc6
Docs: Remove links for sources/created using sphinx/copyright
2020-03-19 09:48:12 +01:00
Dave Halter
24cde8e974
Clean up acknowledgements
2020-03-19 09:43:19 +01:00
Dave Halter
dea80b20e9
REPL docs improvements
2020-03-19 02:57:51 +01:00
Dave Halter
197d64d9a8
Remove tox from docs
2020-03-19 02:53:24 +01:00
Dave Halter
a2bbbfe2d5
Rework a lot of the README
2020-03-19 02:49:29 +01:00
Dave Halter
2e9fac0b71
Rewrite the history part
2020-03-19 02:33:45 +01:00
Dave Halter
83e0e3bd8d
Move history
2020-03-19 02:16:21 +01:00
Dave Halter
2f651966e7
Make jedi testing explanations better
2020-03-19 02:13:01 +01:00
Dave Halter
ffbaa4afea
Improve settings documentation
2020-03-19 01:53:47 +01:00
Dave Halter
e11db6e8e4
Move acknowledgements in docs
2020-03-19 01:42:18 +01:00
Dave Halter
eea6c7f41b
Move recipes to Jedi Usage
2020-03-19 01:31:49 +01:00
Dave Halter
01f53236a4
Rework the recipe parts
2020-03-19 01:26:45 +01:00
Dave Halter
c39326616c
A lot of improvements for the features & limitations docs
2020-03-19 01:04:48 +01:00
Dave Halter
b1aef26464
Docs: End user usage improvements
2020-03-19 00:25:54 +01:00
Dave Halter
97117bfaf2
Display full version in docs
2020-03-19 00:16:03 +01:00
Dave Halter
f12262881d
Some minor docstring improvements
2020-03-19 00:11:02 +01:00