Commit Graph

6421 Commits

Author SHA1 Message Date
micbou
eca845fa81 Restrict Sphinx version in tests 2019-05-21 12:07:17 +02:00
micbou
3df63cff12 Fix docstring tests 2019-05-21 12:07:17 +02:00
micbou
16b64f59b7 Fix transform_path_to_dotted tests on Windows
Compiled modules end with the .pyd extension on Windows.
2019-05-21 12:07:17 +02:00
micbou
6f9f5102d0 Fix correct_zip_package_behavior tests on Windows 2019-05-21 12:07:17 +02:00
Dave Halter
70527d7329 Merge branch 'repr' of https://github.com/blueyed/jedi
Fixed a small merge conflict by hand.
2019-05-20 00:31:32 +02:00
Dave Halter
f01b2fb4d9 Merge pull request #1160 from blueyed/pytest
py.test -> pytest renamings. Originally "Revisit pytest config"
2019-05-20 00:23:20 +02:00
Dave Halter
655344c09c Merge branch 'master' into pytest 2019-05-20 00:21:57 +02:00
Dave Halter
d2d1bb4def Raise a speed limit a bit to avoid false positives 2019-05-19 18:22:47 +02:00
Dave Halter
b5016d6f43 Another try with MANIFEST.in 2019-05-19 18:13:18 +02:00
Dave Halter
7583d297ad Deal with SyntaxErrors coming from numpydoc when used with Python 2 2019-05-19 18:12:01 +02:00
Dave Halter
146ddd5669 Fix a few unicode accesses for Python 2 2019-05-19 17:52:35 +02:00
Dave Halter
ffd720c323 Rewrite reversed a bit 2019-05-19 17:51:30 +02:00
Dave Halter
8cad21819c Add only stubs/README/LICENSE, when packaging typshed 2019-05-19 17:14:49 +02:00
Dave Halter
016e66846b After upgrading tox, packaging works again 2019-05-19 17:11:29 +02:00
Dave Halter
6cf6903d32 It should be possible to pass posargs to pytest for tox 2019-05-19 17:01:25 +02:00
Dave Halter
ea490b9a2b Remove remap_type_vars, which was never used 2019-05-19 16:15:52 +02:00
Dave Halter
7ec76bc0b5 Remove get_matching_functions, it was unused code 2019-05-19 16:06:22 +02:00
Dave Halter
4b2518ca9a Remove special objects, they are no longer needed 2019-05-19 14:28:39 +02:00
Dave Halter
1b668966ce Better completions for MethodType 2019-05-19 14:27:09 +02:00
Dave Halter
c4f0c7940f Remove MODULE_CLASS in favor of a typeshed solution 2019-05-19 14:22:03 +02:00
Dave Halter
f9eedfbf64 Remove FUNCTION_CLASS, in favor of a typeshed solution 2019-05-19 14:19:30 +02:00
Dave Halter
05a3d7a3bc Remove _create_class_filter, it was unused 2019-05-19 14:06:21 +02:00
Dave Halter
cbd16e6d6b Bump latest grammar from 3.6 to 3.7 2019-05-19 14:03:29 +02:00
Dave Halter
7d41fb970e Fixed a typo 2019-05-19 14:02:29 +02:00
Dave Halter
3251d8ffe6 Bump Jedi version to 0.13.0 2019-05-19 14:02:15 +02:00
Dave Halter
6eb92f55df Apparently we need to whitelist pytest for tox to avoid a warning 2019-05-19 13:59:49 +02:00
Dave Halter
c654301f22 Add thirdpart/typeshed to MANIFEST.in 2019-05-19 13:59:25 +02:00
Dave Halter
55feb95d41 Fix an issue with the latest typeshed upgrade in tests 2019-05-19 13:27:38 +02:00
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