Dave Halter
|
9e29e35e16
|
Upgrade typeshed
|
2019-05-19 13:27:25 +02:00 |
|
Dave Halter
|
8db3bb3dc1
|
Upgrade typeshed to latest master and fix reversed execution
|
2019-05-18 23:35:28 +02:00 |
|
Dave Halter
|
7f5225cb70
|
Fix a setup.py assertion
|
2019-05-18 22:34:19 +02:00 |
|
Dave Halter
|
dc2f4e06c8
|
Fix a few casts for Python 2/3 interopability
|
2019-05-18 20:51:42 +02:00 |
|
Dave Halter
|
61ccbb0d3e
|
Make sure to use a python 3 parser for stub files
|
2019-05-18 18:25:32 +02:00 |
|
Dave Halter
|
4176af337f
|
A few Python 2 fixes
|
2019-05-18 01:09:09 +02:00 |
|
Dave Halter
|
cc68942ec1
|
Make sure that the deployment process checks out git submodules (e.g. typeshed)
|
2019-05-18 00:20:56 +02:00 |
|
Dave Halter
|
52ae6e7f0b
|
Remove a print statement
|
2019-05-18 00:19:06 +02:00 |
|
Dave Halter
|
ba59ab40ab
|
Make sure in setup.py that the typeshed submodule is loaded
|
2019-05-18 00:14:53 +02:00 |
|
Dave Halter
|
0fb5fd271a
|
Better scanning for module names, now includes namespace packages and stubs
|
2019-05-18 00:11:08 +02:00 |
|
Dave Halter
|
8e3f85c475
|
Revert "One more small test change"
This reverts commit a6693616a0.
|
2019-05-17 23:49:26 +02:00 |
|
Dave Halter
|
b1bd630a37
|
Make it possible to use error for debugging
|
2019-05-17 23:39:26 +02:00 |
|
Dave Halter
|
4b829c358b
|
Fix an import names completion issue
|
2019-05-17 23:34:17 +02:00 |
|
Dave Halter
|
02ab71ff26
|
Tests for stub import completions
|
2019-05-17 16:53:34 +02:00 |
|
Dave Halter
|
ac962ea6db
|
Refactor stub completions a bit
|
2019-05-17 16:21:13 +02:00 |
|
Dave Halter
|
7de5fee3ad
|
Minor change, because of typeshed changes
|
2019-05-17 16:09:23 +02:00 |
|
Dave Halter
|
e70c49fea2
|
Use completions from both stubs and actual modules
|
2019-05-17 16:04:16 +02:00 |
|
Dave Halter
|
c640aa9213
|
goto_assignments should work even if something is only defined in a stub
|
2019-05-17 14:58:55 +02:00 |
|
Dave Halter
|
9d5f57d798
|
Make sure inferring works even if a stub doesn't have all variables defined
|
2019-05-17 14:45:22 +02:00 |
|
Dave Halter
|
063eef3eaf
|
Call goto_definitions for goto_assigments if we're on a name
|
2019-05-17 12:37:02 +02:00 |
|
Dave Halter
|
b5d1e00930
|
Deal better with instance conversions for stubs
|
2019-05-17 12:27:53 +02:00 |
|
Dave Halter
|
f53c977069
|
Fix an issue with stub conversion
|
2019-05-16 00:52:14 +02:00 |
|
Dave Halter
|
051db30dfb
|
Proper loading for third-party stub packages
|
2019-05-16 00:45:09 +02:00 |
|
Dave Halter
|
4f64dd30f9
|
Make sure Python is still loadable in stub only folders
|
2019-05-15 22:23:23 +02:00 |
|
Dave Halter
|
904c4d04bb
|
Make sure Python is still loadable in mixed stub/python folders
|
2019-05-15 22:20:57 +02:00 |
|
Dave Halter
|
f49d48fbd2
|
Add a few more tests for nested stub folders
|
2019-05-15 22:18:22 +02:00 |
|
Dave Halter
|
e4170d65b7
|
Make namespace folders work with stubs
|
2019-05-15 21:55:54 +02:00 |
|
Dave Halter
|
b7eeb60e9c
|
Move stub caching around
|
2019-05-15 21:10:35 +02:00 |
|
Dave Halter
|
7fc7e631f8
|
Move a part of stub lookups
|
2019-05-15 21:06:36 +02:00 |
|
Dave Halter
|
0e95aaeaad
|
A first try to load foo-stub directories
|
2019-05-15 08:19:46 +02:00 |
|
Dave Halter
|
dcbc60e1f0
|
Add a docstring to mention PEP 561
|
2019-05-14 21:12:34 +02:00 |
|
Dave Halter
|
03f29c51cf
|
Improve stub loading from random places
|
2019-05-14 21:09:20 +02:00 |
|
Dave Halter
|
5ff3e4d1d1
|
Implement stub tests and a first iteration of loading them from some random place
|
2019-05-13 10:13:59 +02:00 |
|
Dave Halter
|
8b1d4a7824
|
Fix call signatures, use stubs if possible
|
2019-05-11 12:44:20 +02:00 |
|
Dave Halter
|
079783e3a1
|
Move trying to resolve stubs to a different place
|
2019-05-10 22:33:49 +02:00 |
|
Dave Halter
|
409bf907d9
|
Fix os path imports
|
2019-05-10 10:08:14 +02:00 |
|
Dave Halter
|
4a2ada56e5
|
Remove two asserts that were pointless
|
2019-05-10 01:31:12 +02:00 |
|
Dave Halter
|
de7b638e6c
|
Remove StubClass, it should really not be needed anymore
|
2019-05-10 01:29:06 +02:00 |
|
Dave Halter
|
a6a71c59f4
|
Move some contents of gradual.stub_contexts to gradual.conversion
|
2019-05-10 01:24:58 +02:00 |
|
Dave Halter
|
e57ff54caa
|
Some minor moving
|
2019-05-10 01:19:59 +02:00 |
|
Dave Halter
|
1430ac2675
|
Remove more unused code that was used for goto a long time ago
|
2019-05-10 01:12:03 +02:00 |
|
Dave Halter
|
eb07c0b4cf
|
Remove a bit of code that was used to write goto code and is not used anymore
|
2019-05-10 01:07:53 +02:00 |
|
Dave Halter
|
be6760e427
|
Introduce get_qualified_names for names, it's easier to implement goto like this
|
2019-05-10 01:07:21 +02:00 |
|
Dave Halter
|
f8f858216f
|
Make goto_assignments in BaseDefinition simpler
|
2019-05-08 22:00:13 +02:00 |
|
Dave Halter
|
037a069ddd
|
Made TreeArguments methods a bit more understandable
|
2019-05-08 09:30:39 +02:00 |
|
Dave Halter
|
dc15470e0b
|
ImportName should resolve properly to the module that it was designed to resolve for
|
2019-05-07 09:43:55 +02:00 |
|
Dave Halter
|
895eae1d54
|
Move all Name classes to a separate file
|
2019-05-07 00:30:16 +02:00 |
|
Dave Halter
|
ad48ec4cfd
|
With typeshed OsPathName is no longer needed
|
2019-05-07 00:09:19 +02:00 |
|
Dave Halter
|
a6693616a0
|
One more small test change
|
2019-05-06 23:59:39 +02:00 |
|
Dave Halter
|
ea6462daf4
|
Forgot to add evaluate/names.py earlier
|
2019-05-06 19:50:26 +02:00 |
|