Dave Halter
|
41c146a6f3
|
Implement magic method return values, fixes #1577
|
2020-05-15 23:53:44 +02:00 |
|
Dave Halter
|
be594f1498
|
Remove an unused cache method
|
2020-05-15 23:53:44 +02:00 |
|
Dave Halter
|
99eba4e0eb
|
Undefined api types should not return a random value
|
2020-05-15 23:53:44 +02:00 |
|
Dave Halter
|
d4aa583e16
|
Fix inline case where a name was removed without the code being used, fixes #1582
|
2020-05-14 23:08:37 +02:00 |
|
Dave Halter
|
381fbeda6a
|
Make the diff nicer if there is no ending newline, fixes #1581
|
2020-05-14 00:20:20 +02:00 |
|
Dave Halter
|
3104443212
|
Merge pull request #1579 from muffinmad/pseudotreenameclass
Return 'class' as _PseudoTreeNameClass.type (fix #1578)
|
2020-05-13 18:59:05 +02:00 |
|
Dave Halter
|
0caee73975
|
Merge pull request #1572 from davidhalter/classvar
Remove is_class_value from infer_type_vars
|
2020-05-12 23:56:03 +02:00 |
|
Dave Halter
|
7f25e28d89
|
Fix tuple issue in 3.6
|
2020-05-12 23:33:06 +02:00 |
|
Dave Halter
|
be7a1346ec
|
Fix #1573 again; a tree_node can be None
|
2020-05-10 13:29:58 +02:00 |
|
Dave Halter
|
6dbc5e783e
|
Fix argument clinic unpacking, remove dynamic bullshit
|
2020-05-10 13:27:20 +02:00 |
|
Dave Halter
|
bf4ec2282f
|
Fix getattr completions on very weird cases, fixes #1573
|
2020-05-10 11:37:58 +02:00 |
|
Dave Halter
|
e6e43413ff
|
Any -> AnyClass
|
2020-05-10 03:17:52 +02:00 |
|
Dave Halter
|
e9a0c01af8
|
TypedDictBase -> TypedDictClass
|
2020-05-10 03:17:07 +02:00 |
|
Dave Halter
|
d0270b5e59
|
DefineGenericBase -> DefineGenericBaseClass
|
2020-05-10 03:07:40 +02:00 |
|
Dave Halter
|
b57654aed3
|
Rename some classes to make it clearer that they are classes
|
2020-05-10 03:04:52 +02:00 |
|
Dave Halter
|
78ad06612e
|
Remove an unused import
|
2020-05-10 03:00:47 +02:00 |
|
Dave Halter
|
434866558a
|
Instances should not need get_generics
|
2020-05-10 02:59:54 +02:00 |
|
Dave Halter
|
42963a0e03
|
By having get_annotated_class_object for Tuple/Callable, some details are not necessary anymore
|
2020-05-10 02:52:42 +02:00 |
|
Dave Halter
|
c2d1da09cb
|
Make sure that Tuple/Callable instances have the correct py__class__
|
2020-05-10 01:05:55 +02:00 |
|
Dave Halter
|
f362932ec5
|
Return a more correct py__class__ for typing base objects
|
2020-05-09 16:28:05 +02:00 |
|
Dave Halter
|
3b48c76e4a
|
Make a function private
|
2020-05-09 00:49:37 +02:00 |
|
Dave Halter
|
d56f607f35
|
Reinstate an if that was deleted by mistake
|
2020-05-09 00:13:18 +02:00 |
|
Dave Halter
|
39a2cd8aa2
|
Fix a potential issue with tuples
|
2020-05-08 18:07:15 +02:00 |
|
Dave Halter
|
14ca8e6499
|
Add a comment
|
2020-05-08 18:00:35 +02:00 |
|
Dave Halter
|
2a227dcc7a
|
Remove is_class_value from infer_type_vars
|
2020-05-08 17:49:02 +02:00 |
|
Dave Halter
|
12090ce74b
|
Fix tests
|
2020-05-08 15:18:23 +02:00 |
|
Dave Halter
|
25973554e2
|
Remove the common folder and move it to a common file
|
2020-05-08 13:23:56 +02:00 |
|
Dave Halter
|
138c22afe9
|
Remove common.value
|
2020-05-08 13:18:01 +02:00 |
|
Dave Halter
|
d19535340c
|
Move infer_type_vars to base_value
|
2020-05-08 13:13:26 +02:00 |
|
Dave Halter
|
5fcbed721d
|
Merge pull request #1554 from PeterJCLaw/fix-nested-tuple-argument
Fix handling of nested tuple arguments
|
2020-05-08 12:49:44 +02:00 |
|
Dave Halter
|
d606ea6759
|
Correct a test
|
2020-04-27 09:59:38 +02:00 |
|
Dave Halter
|
c314e1c36e
|
Speed up signature fetching for MixedName, see discussion in #1422
|
2020-04-27 01:53:42 +02:00 |
|
Dave Halter
|
8c7a883abd
|
Test that the actual signature of a function is used in Interpreter
|
2020-04-27 01:47:06 +02:00 |
|
Dave Halter
|
9836a1b347
|
Very small refactoring
|
2020-04-26 12:47:44 +02:00 |
|
Dave Halter
|
4d9cb083ac
|
Merge pull request #1561 from PeterJCLaw/newtype-pyclass
Support accessing the py__class__ of a NewType
|
2020-04-26 02:15:17 +02:00 |
|
Dave Halter
|
dca505c884
|
Merge pull request #1553 from PeterJCLaw/generic-tuple-return
Fix construction of nested generic tuple return types
|
2020-04-26 01:28:51 +02:00 |
|
Dave Halter
|
7fd5c8af8f
|
Allow files for get_default_project, fixes #1552
|
2020-04-26 00:33:10 +02:00 |
|
Dave Halter
|
97fb95ec0c
|
Don't display unnecessary help, fixes #1557
|
2020-04-26 00:21:01 +02:00 |
|
Dave Halter
|
e6d8a955d2
|
Pin Django in a different way so tests can work everywhere
|
2020-04-25 23:25:51 +02:00 |
|
Dave Halter
|
a3a147f028
|
Make sure that Django's values/values_list is tested (though not implemented
|
2020-04-25 22:55:29 +02:00 |
|
Dave Halter
|
c761dded35
|
Properly implement inheritance for Django models
|
2020-04-25 22:55:29 +02:00 |
|
Dave Halter
|
92623232c3
|
Make sure Django User inference works
|
2020-04-25 22:55:29 +02:00 |
|
Dave Halter
|
9b58bf6199
|
Pin the Django test dependency
|
2020-04-25 22:55:29 +02:00 |
|
Dave Halter
|
9d5eb28523
|
Mention django stubs support in README
|
2020-04-25 22:55:29 +02:00 |
|
Dave Halter
|
857e0fc00e
|
Include Django stubs license in Jedi package
|
2020-04-25 22:55:29 +02:00 |
|
Dave Halter
|
bf8b58aeeb
|
Some more django query tests
|
2020-04-25 22:55:29 +02:00 |
|
Dave Halter
|
f6803bce2c
|
Infer many to many fields
|
2020-04-25 22:55:29 +02:00 |
|
Dave Halter
|
6bff30fbbb
|
Include Django stubs as a third party repo
|
2020-04-25 22:55:29 +02:00 |
|
Dave Halter
|
6d927d502e
|
Make sure that infering the Django User model works
|
2020-04-25 22:55:29 +02:00 |
|
Dave Halter
|
2e1284f044
|
Fix a recursion error issue
|
2020-04-25 22:55:29 +02:00 |
|
Dave Halter
|
11eb4f8fde
|
Remove unused imports
|
2020-04-25 22:55:29 +02:00 |
|
Dave Halter
|
784f9ff081
|
Actually fix #1556, forgot to add this in 94d374c9ce
|
2020-04-23 10:10:58 +02:00 |
|
Dave Halter
|
0f39135ae5
|
Start changelog for 0.17.1
|
2020-04-22 23:14:58 +02:00 |
|
Dave Halter
|
94d374c9ce
|
Fix a small issue with the help method, fixes #1556
|
2020-04-22 17:32:40 +02:00 |
|
Dave Halter
|
f3152a8c2b
|
Django is not supported for Python 2
|
2020-04-22 09:44:43 +02:00 |
|
Dave Halter
|
f3eaa418bb
|
Work with a NameWrapper, so Django goto works better
|
2020-04-22 09:32:39 +02:00 |
|
Dave Halter
|
f9176578ea
|
Fix another django modelfield issue
|
2020-04-22 00:54:43 +02:00 |
|
Dave Halter
|
17eeb73767
|
Some nitpicks
|
2020-04-22 00:41:59 +02:00 |
|
Dave Halter
|
7756792bba
|
Fix another issue with foreign keys
|
2020-04-22 00:33:51 +02:00 |
|
Dave Halter
|
ba4e3393d3
|
Fix ForeignKey issues with invalid values
|
2020-04-22 00:27:06 +02:00 |
|
Dave Halter
|
1a89fafce4
|
Some other small refactorings
|
2020-04-22 00:15:35 +02:00 |
|
Dave Halter
|
df307b8eda
|
Refactor a few things for django
|
2020-04-22 00:05:35 +02:00 |
|
Dave Halter
|
d96887b102
|
Remove old third party django tests
|
2020-04-21 23:43:59 +02:00 |
|
Dave Halter
|
89ad9a500b
|
Use debug instead of print for Django and fix indentation, see #1467
|
2020-04-21 23:41:54 +02:00 |
|
Dave Halter
|
086728365c
|
Make Django test optional
|
2020-04-21 23:36:00 +02:00 |
|
Dave Halter
|
f9e36943d4
|
Merge branch 'master' of https://github.com/ANtlord/jedi
|
2020-04-21 23:22:40 +02:00 |
|
Dave Halter
|
851e0d59f0
|
Better developer tools
|
2020-04-18 12:19:17 +02:00 |
|
Dave Halter
|
10b2de2c3f
|
Make the linter completely private
|
2020-04-18 11:23:25 +02:00 |
|
Dave Halter
|
3718d62e24
|
Make sure that calling Jedi with a random argument in CLI results in errors
|
2020-04-18 11:23:12 +02:00 |
|
Dave Halter
|
a793dd7c91
|
Fix a small _get_annotated_class_object, fixes #1550
|
2020-04-18 00:36:32 +02:00 |
|
Dave Halter
|
0850b86456
|
Also don't complete keywords if kwargs only are allowed, see #1541
|
2020-04-17 23:51:40 +02:00 |
|
Dave Halter
|
f07dee3564
|
Completion: Don't suggest variables when only kwargs are legal, fixes #1541
|
2020-04-17 22:59:26 +02:00 |
|
Dave Halter
|
8aaa8e0044
|
Project._python_path -> Project.environment_path
|
2020-04-14 23:14:07 +02:00 |
|
Dave Halter
|
cbfbe7c08d
|
Set the release date in Changelog
|
2020-04-14 22:59:17 +02:00 |
|
Dave Halter
|
81926a785c
|
Some README improvements
|
2020-04-14 00:06:32 +02:00 |
|
Dave Halter
|
9ccb596f93
|
Extract now properly validates line/column and those two params are required
|
2020-04-13 23:15:42 +02:00 |
|
Dave Halter
|
25db8de0da
|
Some minor CHANGELOG changes
|
2020-04-13 22:40:06 +02:00 |
|
Dave Halter
|
24dffe4226
|
Upgrade parso version
|
2020-04-13 22:33:51 +02:00 |
|
Dave Halter
|
c3fc129695
|
Fix a small issue
|
2020-04-12 00:54:31 +02:00 |
|
Dave Halter
|
02c3d651bd
|
Some more code quality fixes
|
2020-04-11 02:23:23 +02:00 |
|
Dave Halter
|
bdd4deedc1
|
Some code cleanups
|
2020-04-11 02:11:52 +02:00 |
|
Dave Halter
|
9d55194b92
|
Don't reuse a variable
|
2020-04-11 01:40:41 +02:00 |
|
Dave Halter
|
102f83ea85
|
Remove unreachable code
|
2020-04-11 01:39:04 +02:00 |
|
Dave Halter
|
22902f6dba
|
_convert_names kwargs are not needed
|
2020-04-11 01:37:34 +02:00 |
|
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 |
|
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 |
|