Dave Halter
|
0dc60fb535
|
A small dataclass refactoring
|
2019-07-19 11:44:11 +02:00 |
|
Dave Halter
|
5722a3458e
|
Evaluate annotations for dataclasses when infer is called on param
|
2019-07-19 11:42:08 +02:00 |
|
Dave Halter
|
93c52f615a
|
Get inheritance of dataclass right
|
2019-07-19 11:35:13 +02:00 |
|
Dave Halter
|
050d686a27
|
A first working iteration of dataclass signatures, fixes #1213
|
2019-07-19 02:01:36 +02:00 |
|
Dave Halter
|
1cccc832b6
|
Dataclass progress
|
2019-07-19 01:27:37 +02:00 |
|
Dave Halter
|
c7fc715535
|
Use class filters in instances differently so metaclass plugins work, fixes #1090
|
2019-07-18 11:20:54 +02:00 |
|
Dave Halter
|
eeea88046e
|
First step in working with metaclasses in plugins, see #1090.
|
2019-07-18 11:20:28 +02:00 |
|
Dave Halter
|
dea887d27d
|
Refactor the plugin registry
|
2019-07-16 12:48:54 +02:00 |
|
Dave Halter
|
8329e2e969
|
Remove classes from plugins and use decorators instead
|
2019-07-16 10:23:19 +02: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
|
265abe1d08
|
Fix super call goto for multiple inheritance, fixes #1311
|
2019-06-24 09:53:56 +02:00 |
|
Dave Halter
|
eef02e5c56
|
Fix generator issues for typing
|
2019-06-08 01:50:38 +02:00 |
|
Dave Halter
|
94dfe7bf69
|
Use even more stubs to get more complex completions for e.g. strings working
|
2019-06-07 02:37:51 +02:00 |
|
Dave Halter
|
97f342fc4c
|
Fix qualified names for CompiledObject
|
2019-06-07 01:33:37 +02:00 |
|
Dave Halter
|
b9e8bff5e2
|
Start using FileIO in modules
|
2019-05-31 22:10:49 +02:00 |
|
Dave Halter
|
6cdde65052
|
Fix an issue with namedtuples
|
2019-05-31 15:21:03 +02:00 |
|
Dave Halter
|
df038d8f05
|
Modules are obviously not executable, but should not lead to traceback when executed
|
2019-05-30 00:17:38 +02:00 |
|
Dave Halter
|
b39928188f
|
Rewrite BuiltinOverwrite with ContextWrappers
|
2019-05-28 09:48:54 +02:00 |
|
Dave Halter
|
11f3eece6d
|
Preparations for some async changes
|
2019-05-27 09:41:50 +02:00 |
|
Dave Halter
|
ffd720c323
|
Rewrite reversed a bit
|
2019-05-19 17:51:30 +02:00 |
|
Dave Halter
|
8db3bb3dc1
|
Upgrade typeshed to latest master and fix reversed execution
|
2019-05-18 23:35:28 +02:00 |
|
Dave Halter
|
4d3a698a12
|
Refactor things so goto is working in both directions
|
2019-05-05 01:16:52 +02:00 |
|
Dave Halter
|
df9c9d8dff
|
Fix a flask issue
|
2019-05-01 10:47:20 +02:00 |
|
Dave Halter
|
0e42df2da7
|
Refactor Jedi so we use stub modules as much as possible
|
2019-05-01 00:52:02 +02:00 |
|
Dave Halter
|
fa17681cf6
|
Goto definitions goto stubs now have a proper implementation
|
2019-04-03 00:28:15 +02:00 |
|
Dave Halter
|
e2ab4c060f
|
Move all the gradual typing stuff into one folder
|
2018-12-24 17:40:47 +01:00 |
|
Dave Halter
|
24174632d4
|
Fix some bugs of the last few commits
|
2018-12-22 22:08:54 +01:00 |
|
Dave Halter
|
33b73d7fbc
|
Typing does not need to be installed for Jedi to work, vendored typeshed is enough
|
2018-12-16 17:26:56 +01:00 |
|
Dave Halter
|
af51c9cc33
|
Fix Python 3 with Python 2 environment issues
|
2018-12-16 17:13:02 +01:00 |
|
Dave Halter
|
46da1df5ae
|
Add an assert that makes it impossible to nest classes of the same type
|
2018-12-14 09:37:30 +01:00 |
|
Dave Halter
|
b6cb1fb72d
|
Rewrite the typeshed algorithm of matching actual and stub classes
|
2018-12-13 09:32:57 +01:00 |
|
Dave Halter
|
aa4846bff6
|
If the stub module is not a package but the actual module is, it should not fail the import
|
2018-12-09 13:39:40 +01:00 |
|
Dave Halter
|
ae1f5fa511
|
Fix namedtuples and reactivate tests for Python 2
|
2018-12-09 12:41:58 +01:00 |
|
Dave Halter
|
decb5046ea
|
Some Python 2.7 fixes
|
2018-12-07 08:58:17 +01:00 |
|
Dave Halter
|
c446bcf885
|
Fix Python 3.5 issues
|
2018-12-06 00:59:56 +01:00 |
|
Dave Halter
|
3260867918
|
Move the stdlib namedtuple template of 3.6 to Jedi.
|
2018-12-06 00:34:52 +01:00 |
|
Dave Halter
|
2406c8374f
|
StubModuleContext is now a wrapped context
|
2018-12-05 21:33:23 +01:00 |
|
Dave Halter
|
b293e8e9e1
|
Reintroduce CompiledStubName, because we actually need it for positions
|
2018-12-04 19:25:01 +01:00 |
|
Dave Halter
|
6b86ad9083
|
Move py__mro__ calls to direct calls, because it's defined on ClassMixin
|
2018-12-01 15:17:22 +01:00 |
|
Dave Halter
|
a07b062752
|
Merge StubName and CompiledNameWithStub
|
2018-11-30 23:36:30 +01:00 |
|
Dave Halter
|
eb27c64c71
|
Make os.path import issues clearer
|
2018-11-25 19:25:21 +01:00 |
|
Dave Halter
|
021d1bc568
|
py__iter__ now takes a contextualized_node argument and raises the analysis errors itself
|
2018-11-23 18:22:38 +01:00 |
|
Dave Halter
|
1948f23fb3
|
Fix some issues around stub methods
|
2018-11-21 23:47:40 +01:00 |
|
Dave Halter
|
cb3cd3022d
|
get_signatures should automatically use the stubs if possible
|
2018-11-19 09:58:35 +01:00 |
|
Dave Halter
|
d2c0b13a02
|
Fix some small small issues around the latest commits
|
2018-11-18 23:53:56 +01:00 |
|
Dave Halter
|
cf6cae728a
|
Some issues with inheritance
|
2018-11-18 22:29:52 +01:00 |
|
Dave Halter
|
8b039287c8
|
Try to use a CompiledStubClass to wrap functions inside classes
|
2018-11-18 17:43:46 +01:00 |
|
Dave Halter
|
75203c55f8
|
Make some things clearer around CompiledStubs
|
2018-11-16 09:49:46 +01:00 |
|
Dave Halter
|
aeeb4880b1
|
Use the right context (stub) to check if we should use a CompiledStubClass or not
|
2018-11-14 22:59:49 +01:00 |
|
Dave Halter
|
d5d7679120
|
Fix a few of the issues with compiled classes and typeshed and docs
|
2018-11-14 19:19:56 +01:00 |
|