This website requires JavaScript.
89ad9a500b
Use debug instead of print for Django and fix indentation, see #1467
Dave Halter
2020-04-21 23:41:54 +02:00
086728365c
Make Django test optional
Dave Halter
2020-04-21 23:36:00 +02:00
f9e36943d4
Merge branch 'master' of https://github.com/ANtlord/jedi
Dave Halter
2020-04-21 23:22:40 +02:00
b5c1c6d414
Django plugin test of ManyToManyField is added and marked for future implementation.
ANtlord
2020-04-21 10:56:22 +03:00
df76b2462e
Review corrections.
ANtlord
2020-04-20 10:31:03 +03:00
343a10d491
Drop redundant blank line
Peter Law
2020-04-19 14:42:57 +01:00
72c52f5f15
Add type match guard
Peter Law
2020-04-19 14:29:44 +01:00
cfa01d3ac5
Add handling of nested generic tuples
Peter Law
2020-04-19 14:10:03 +01:00
f8e7447d35
Add handling of nested generic callables
Peter Law
2020-04-19 13:12:54 +01:00
2ac806e39f
Add test which demonstrates incomplete generic Callable handling
Peter Law
2020-04-19 12:50:24 +01:00
7ebbf9da44
Make this test case obey typing rules in Python
Peter Law
2020-04-18 22:56:46 +01:00
1c4a2edbdb
Fix construction of nested generic tuple return types
Peter Law
2020-04-18 19:43:47 +01:00
1d3082249f
Debug information corrections.
ANtlord
2020-04-18 18:51:12 +03:00
09950233e7
Django is designated in test dependencies.
ANtlord
2020-04-18 18:36:04 +03:00
d48575c8c5
Simple tests of Django plugin are added.
ANtlord
2020-04-18 16:13:48 +03:00
f8a0cf76c8
Merge branch 'master' of github.com:davidhalter/jedi
ANtlord
2020-04-18 14:25:24 +03:00
851e0d59f0
Better developer tools
Dave Halter
2020-04-18 12:19:14 +02:00
10b2de2c3f
Make the linter completely private
Dave Halter
2020-04-18 11:23:25 +02:00
3718d62e24
Make sure that calling Jedi with a random argument in CLI results in errors
Dave Halter
2020-04-18 11:23:12 +02:00
a793dd7c91
Fix a small _get_annotated_class_object, fixes #1550
Dave Halter
2020-04-18 00:36:32 +02:00
0850b86456
Also don't complete keywords if kwargs only are allowed, see #1541
Dave Halter
2020-04-17 23:51:40 +02:00
f07dee3564
Completion: Don't suggest variables when only kwargs are legal, fixes #1541
Dave Halter
2020-04-17 22:58:55 +02:00
f871f5e726
fix #1548
xu0o0
2020-04-17 17:33:44 +08:00
803c3cb271
* 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
Ryan Clary
2020-04-15 15:27:33 -07:00
7ff76bb7d0
Sort test_project::test_search results to fix failures
Michał Górny
2020-04-15 07:54:01 +02:00
e7feeef64e
Inc difference limit in TestSetupReadline::test_import for py3.8
Michał Górny
2020-04-15 09:50:36 +02:00
8aaa8e0044
Project._python_path -> Project.environment_path
v0.17.0
Dave Halter
2020-04-14 23:14:01 +02:00
cbfbe7c08d
Set the release date in Changelog
Dave Halter
2020-04-14 22:59:17 +02:00
81926a785c
Some README improvements
Dave Halter
2020-04-14 00:06:32 +02:00
9ccb596f93
Extract now properly validates line/column and those two params are required
Dave Halter
2020-04-13 23:15:42 +02:00
25db8de0da
Some minor CHANGELOG changes
Dave Halter
2020-04-13 22:40:06 +02:00
24dffe4226
Upgrade parso version
Dave Halter
2020-04-13 22:33:51 +02:00
c3fc129695
Fix a small issue
Dave Halter
2020-04-12 00:54:31 +02:00
02c3d651bd
Some more code quality fixes
Dave Halter
2020-04-11 02:23:23 +02:00
bdd4deedc1
Some code cleanups
Dave Halter
2020-04-11 02:11:52 +02:00
9d55194b92
Don't reuse a variable
Dave Halter
2020-04-11 01:40:41 +02:00
102f83ea85
Remove unreachable code
Dave Halter
2020-04-11 01:39:04 +02:00
22902f6dba
_convert_names kwargs are not needed
Dave Halter
2020-04-11 01:37:34 +02:00
5a3565785c
Add pyproject.toml to the list of files to search for projects
Dave Halter
2020-04-11 00:51:28 +02:00
0f2a7215bb
Use the interpreter environment if the executable is not available, fixes #1531
Dave Halter
2020-04-02 20:59:35 +02:00
61e9371849
Fix a potential AttributeError
Dave Halter
2020-04-02 00:32:50 +02:00
dde40b3a71
Add a comment to clarify the Type case
Dave Halter
2020-04-02 00:23:38 +02:00
ebb2786748
Avoid AttributeErrors for generics when a module is passed
Dave Halter
2020-04-01 01:50:54 +02:00
28f256d2a6
Merge branch 'improve-type-annotation-inference-refactors' of https://github.com/PeterJCLaw/jedi
Dave Halter
2020-04-01 00:54:25 +02:00
883f5a3824
Merge branch 'improve-type-annotation-inference' of https://github.com/PeterJCLaw/jedi
Dave Halter
2020-04-01 00:54:13 +02:00
ac33d5dea3
If branch inference should not trigger for things we don't know, fixes #1530
Dave Halter
2020-03-31 22:46:17 +02:00
604029568c
Fix string completion issue, fixes #1528
Dave Halter
2020-03-26 15:47:27 +01:00
eac5ac8426
Update comment after refactor moved code
Peter Law
2020-03-25 22:35:12 +00:00
7e9ad9e733
Fix typo
Peter Law
2020-03-25 22:32:53 +00:00
e2090772f3
Push tuple handling onto Tuple class
Peter Law
2020-03-22 16:04:39 +00:00
525b88e9f1
Simplify early-exit code by having it once
Peter Law
2020-03-22 15:49:31 +00:00
3c90a84f68
Extract common get_generics() calls
Peter Law
2020-03-22 15:47:46 +00:00
ea33db388b
Remove dict merging where it doesn't do anything
Peter Law
2020-03-22 15:40:29 +00:00
f68d65ed59
Push much looping and merging of infering type vars into ValueSet
Peter Law
2020-03-18 21:44:18 +00:00
3c7621049c
Extract annotation inference onto annotation classes
Peter Law
2020-03-18 21:25:17 +00:00
dd60a8a4c9
Extract nested function which is going to be used elsewhere
Peter Law
2020-03-18 21:01:15 +00:00
5bd6a9c164
Rename function which is going to be used elsewhere
Peter Law
2020-03-18 20:49:03 +00:00
c743e5d9f3
Push type check into helper
Peter Law
2020-03-22 15:14:01 +00:00
5ca69458d4
Add testing for mismatch cases
Peter Law
2020-03-22 14:58:18 +00:00
bb9731b561
Fix wrong types for iterate, fixes #1524
Dave Halter
2020-03-21 18:09:03 +01:00
a2f4d1bbe7
Fix stub conversion for Decoratee, so docstrings work, see #117
Dave Halter
2020-03-21 17:23:27 +01:00
88c13639bc
Remove unused environment param
Dave Halter
2020-03-21 03:19:39 +01:00
28c1ba6c1c
Fix a Python 2 test
Dave Halter
2020-03-21 03:13:24 +01:00
a2764283ba
Merge branch 'refactor'
Dave Halter
2020-03-21 02:54:07 +01:00
0ffd566957
Merge branch 'project'
Dave Halter
2020-03-21 02:52:51 +01:00
5b54ac835d
Fix deprecations in tests
Dave Halter
2020-03-21 02:42:00 +01:00
5f6a25fb58
Add deprecations warnings, to deprecated functions in the main API
Dave Halter
2020-03-21 02:30:07 +01:00
d6d9286242
Get rid of deprecations in tests
Dave Halter
2020-03-21 02:07:53 +01:00
4c964ae655
Fix some test results
Dave Halter
2020-03-21 01:52:56 +01:00
8000d425ec
Don't use desc_with_module in integration tests
Dave Halter
2020-03-21 01:47:00 +01:00
c7cd84b1a4
Rework the introduction of the README/docs
Dave Halter
2020-03-21 01:25:48 +01:00
6a89599fa5
Rework badges
Dave Halter
2020-03-19 10:12:39 +01:00
5f40fa9bc6
Docs: Remove links for sources/created using sphinx/copyright
Dave Halter
2020-03-19 09:48:12 +01:00
24cde8e974
Clean up acknowledgements
Dave Halter
2020-03-19 09:43:19 +01:00
dea80b20e9
REPL docs improvements
Dave Halter
2020-03-19 02:57:51 +01:00
197d64d9a8
Remove tox from docs
Dave Halter
2020-03-19 02:53:24 +01:00
a2bbbfe2d5
Rework a lot of the README
Dave Halter
2020-03-19 02:49:29 +01:00
2e9fac0b71
Rewrite the history part
Dave Halter
2020-03-19 02:33:45 +01:00
83e0e3bd8d
Move history
Dave Halter
2020-03-19 02:16:21 +01:00
2f651966e7
Make jedi testing explanations better
Dave Halter
2020-03-19 02:13:01 +01:00
ffbaa4afea
Improve settings documentation
Dave Halter
2020-03-19 01:51:38 +01:00
e11db6e8e4
Move acknowledgements in docs
Dave Halter
2020-03-19 01:42:18 +01:00
eea6c7f41b
Move recipes to Jedi Usage
Dave Halter
2020-03-19 01:31:49 +01:00
01f53236a4
Rework the recipe parts
Dave Halter
2020-03-19 01:26:45 +01:00
c39326616c
A lot of improvements for the features & limitations docs
Dave Halter
2020-03-19 01:04:48 +01:00
b1aef26464
Docs: End user usage improvements
Dave Halter
2020-03-19 00:25:27 +01:00
97117bfaf2
Display full version in docs
Dave Halter
2020-03-19 00:16:03 +01:00
f12262881d
Some minor docstring improvements
Dave Halter
2020-03-19 00:11:02 +01:00
95b0cdcb5e
Add test for child of specialised generic
Peter Law
2020-03-18 22:15:32 +00:00
0f8e7b453e
Formatting
Peter Law
2020-03-18 21:01:41 +00:00
516b58b287
Fix a lot of sphinx warnings
Dave Halter
2020-03-18 10:16:32 +01:00
e53acb4150
Create an autosummary for Jedi's API
Dave Halter
2020-03-18 09:55:58 +01:00
7de475318a
Minor refactoring
Dave Halter
2020-03-17 10:00:38 +01:00
6dda514ec6
Make sure encoding doesn't unnecessarily raise warnings
Dave Halter
2020-03-17 10:00:30 +01:00
72a3a33e33
ParamDefinition -> ParamName
Dave Halter
2020-03-17 09:34:28 +01:00
d26926a582
Definition -> Name
Dave Halter
2020-03-17 09:33:12 +01:00
0731206b9d
BaseDefinition -> BaseName
Dave Halter
2020-03-17 09:25:30 +01:00
c2451ddd03
Small docstring changes
Dave Halter
2020-03-17 09:21:48 +01:00
88adf84fc2
Move acknowledgements over to the documentation
Dave Halter
2020-03-17 09:18:34 +01:00
94c97765c8
Include the CHANGELOG in docs
Dave Halter
2020-03-17 09:16:57 +01:00