Commit Graph

23904 Commits

Author SHA1 Message Date
Eugene Petrenko
b0b06a9e32 SdkTypeId - add version string comparator to the API, fix inheritors
GitOrigin-RevId: 4cc18ea990aad56632db714701826f2eaa3d8d05
2020-01-16 08:11:51 +00:00
Alexander Koshevoy
24c0414d0e PY-40123 Do not try to obtain remote debugger socket for Docker and Docker Compose Python interpreters
Avoids the situation in which "Could not find docker0 network interface" error might occur during the attempt to debug a Python application.

GitOrigin-RevId: 4f4c8c69f61e5dd0c6e72b0d7450772756fe5be7
2020-01-16 08:11:51 +00:00
Alexey Kudravtsev
0ac6e724c9 refine Processor type in method signatures in platform
GitOrigin-RevId: 7e66fa0f044e1f31a67cb2ab7ff3665a234efb79
2020-01-16 08:11:51 +00:00
Mikhail Golubev
c955ffbcc7 PY-39682 Handle union types of qualifiers when deducing FQN for unresolved attributes
The underlying problem is that we started to infer a confusing union type
of __init__.py modules found both in site-packages and python_stubs
for such imported packages, but I want it to be addressed separately in PY-39911.

GitOrigin-RevId: 053a4a092ce7fcc71d192dbaa6b1623b82472a17
2020-01-16 08:11:51 +00:00
Tagir Valeev
78a91459c4 Array annotations changed to type-use style (not compilable now)
GitOrigin-RevId: 68aa4ba200618083684599228e13dfdba35967a4
2020-01-16 08:11:51 +00:00
Dmitry.Krasilschikov
36c1eb5c9a more localized configurable display names
GitOrigin-RevId: a261649194dcc170c8e9d48b48cc7aa00549e994
2020-01-14 15:11:57 +00:00
Dmitry.Krasilschikov
1a1dfc04f0 more localized configurable display names
GitOrigin-RevId: 0151e053aa1995e7395bafe86f1da474c99ef424
2020-01-14 15:11:57 +00:00
Sergey Stupin
5651d08c33 LAB-31 move NumpyDocStringTypeProvider to python-psi-impl
GitOrigin-RevId: b65fb8c08de5bbb99c7b6a8347bf225b79e0f0f1
2020-01-14 14:35:29 +00:00
Semyon Proshev
21eb1c67a0 Add logging for PY-39541
GitOrigin-RevId: 5dfee76b4b01baffd53093ac2380b0054039b27e
2020-01-14 14:02:28 +00:00
Sergey Stupin
d70b2af48e LAB-31 move PyTargetElementEvaluator to python-psi-impl
GitOrigin-RevId: 1bf806d3498a4dc19c770c1c08253f99690b14a1
2020-01-14 13:39:31 +00:00
Semyon Proshev
46faf483e5 Revert to directory configurator instead of project listener (PY-39541, PY-39921)
Since it is more clear in what cases the configurator is called and does not lead to overriding interpreter that is going to be created or being created.

GitOrigin-RevId: 76854f469f4d1d63763159ba89ab13b0a1c4754b
2020-01-14 13:01:26 +00:00
Sergey Stupin
b60e92eb0a LAB-31 env-based specific completion contributor for providing dir with user files
GitOrigin-RevId: 1be992cdaba18286372338d64b2947fa4f0fd787
2020-01-14 12:06:23 +00:00
Dmitry.Krasilschikov
1243f41d61 more i10n Python configurables
GitOrigin-RevId: 45835142161c8c5430db31a009103b4784af6152
2020-01-13 22:35:31 +00:00
Dmitry.Krasilschikov
63338625ba i10n Python configurables
GitOrigin-RevId: d785abdf038cb909c9ff7f280dd180ac61011e7f
2020-01-13 22:35:31 +00:00
Vladimir Krivosheev
b77b85cd76 cleanup
GitOrigin-RevId: 643843b2acdd38f5d01172e7cab73105e2dacc9a
2020-01-13 17:08:44 +00:00
Vladimir Krivosheev
fc1978e0df cleanup - AbstractTreeNode<?>
GitOrigin-RevId: fa3b77b69a092eed8530aa29ffa98a981a35903f
2020-01-13 15:43:25 +00:00
Vladimir Krivosheev
33395aee3b simplify - do not require to pass ActionManager
GitOrigin-RevId: d276f0db6247d0c11805fee74c03ef753d788a8b
2020-01-13 08:04:46 +00:00
Sergey Ignatov
2a8215156b rename after an old refactoring
GitOrigin-RevId: b757431b7a1c51e53f4d517de477314e0b13de12
2020-01-12 00:12:25 +00:00
Semyon Proshev
bbaead5046 Skip empty classes while inspecting fields order (incl inherited) (PY-40018)
GitOrigin-RevId: 53ce68c45df4049346c67416d250b2e36e2c762c
2020-01-10 13:09:02 +00:00
Semyon Proshev
2b40e2ffe3 Enable xml stubs (PY-39061)
GitOrigin-RevId: cbde80de3256af9b10f67851a92eec3cb0a8ce06
2020-01-10 12:40:13 +00:00
Semyon Proshev
0d9826d746 Enable contextvars stubs (PY-39618, PY-39976)
GitOrigin-RevId: b4244a417e290607b5c36c7b649ee1b602da2735
2020-01-10 12:40:13 +00:00
Semyon Proshev
b1fea5545f Sync with typeshed @ 955e9c7da46e12e2c4e02d543ff94c246d304931 (PY-39420)
Excluding https://github.com/python/typeshed/pull/3252

GitOrigin-RevId: 705c358d0112ca475be82659745a1190dd5410d3
2020-01-10 12:40:13 +00:00
Dmitry.Krasilschikov
151f01503b more localized configurable display names
GitOrigin-RevId: 6cd673382a243910bd993a7802baf78e6a92f7ef
2020-01-10 10:07:45 +00:00
Dmitry.Krasilschikov
2da39d524b localize configurable display names
GitOrigin-RevId: 855f866a4f1ed097d782335097036b4983ea6d80
2020-01-10 08:15:40 +00:00
Dmitry.Krasilschikov
411de4a57d localize configurable display name
GitOrigin-RevId: 4b082c2c9259c51b26bb042f48464acdb17d5de7
2020-01-10 08:15:40 +00:00
Stanislav Utikeev
dc47318681 Make python.community module depend on submodule of platform.ide
GitOrigin-RevId: 045d627027990d506de7b9a0402c687b01acb2ea
2020-01-09 15:10:17 +00:00
Stanislav Utikeev
ae21cd4bf7 [analysisTool] Move some of EPs used in analysis tool to proper XMLs
- Move .pyi filetype definition to python-core-common.xml as it is registered via CoreFileTypeRegistry
- Move referencesSearch to Indexing.xml

GitOrigin-RevId: 1e8e38d0c371f0042ce517391da10bbc8bbcc886
2020-01-09 15:10:17 +00:00
Alexey Kudravtsev
24bd6520a7 revert port to the new Annotator API (because of invalid ranges specified)
GitOrigin-RevId: 36d19cf302692dd96d5dcdb3e4da6f895ac61ec2
2020-01-09 14:33:02 +00:00
Alexey Kudravtsev
28b5b4ed14 port python to the new Annotator API
GitOrigin-RevId: 9fa9eeeba5fa6d644e64d63b6c13817a89a7244f
2020-01-09 14:33:02 +00:00
Alexey Kudravtsev
f79512c842 port python to the new Annotator API
GitOrigin-RevId: 4b5b74738db5e667bbc17637b1aa72191c152272
2020-01-09 14:33:02 +00:00
Dmitry.Krasilschikov
c204adce7a i18n "python-core-common" actions
GitOrigin-RevId: f136a21dcf128de5d41a54b8d3ccb7c10145fbf3
2020-01-09 10:32:08 +00:00
Sergey Stupin
fbe47de0c5 LAB-31 add rename API to PythonAnalysisTool (wip). Move several EPs from lang to analysis
GitOrigin-RevId: e66c50404670eeca27358f942153f146d8c742b3
2020-01-07 10:02:06 +00:00
Sergey Ignatov
f7872198b1 mv rest bundle
GitOrigin-RevId: e1e77c3cd78c6ec44d874db2d2326b6b8ccede6d
2020-01-05 19:31:47 +00:00
Sergey Ignatov
5237befd34 mv PyPsiBundle
GitOrigin-RevId: 3cb6b9f7906e9ce9b4d8880a1f62deeea383660a
2020-01-05 19:31:47 +00:00
Sergey Ignatov
07544a9018 reuse PyBundle.BUNDLE
GitOrigin-RevId: 346d30441938bf4e2110bd19194c584815ee528e
2020-01-05 19:31:47 +00:00
Sergey Ignatov
66ed1db795 rm unused keys
GitOrigin-RevId: 9dae773403addf5e9af0a03f9d851f2aa1bb8cc3
2020-01-05 19:31:47 +00:00
Sergey Ignatov
3dc9213d5e mv PyBundle
GitOrigin-RevId: 788014dfb0fa12b013f13dc686c2291186215089
2020-01-05 19:31:47 +00:00
Dmitry.Krasilschikov
a72dd3ab16 IDEA-229963 move hierarchy to new API - proper scope type comparision
GitOrigin-RevId: fc3b6173ce99dcb35fd25c2893e7f8a711d1b63d
2020-01-05 16:03:25 +00:00
Dmitry.Krasilschikov
5258553cba IDEA-229963 move hierarchy to new API
GitOrigin-RevId: 798ecef34e2e897d36552548f760441a2f7d58c5
2020-01-05 16:03:25 +00:00
Alexander Koshevoy
e548acdcf6 PY-39996 Switch from predefined CredentialsType.WEB_DEPLOYMENT to WebDeploymentCredentialsType
Make `CreateRemoteSdkForm` disposable itself to simplify the dispose hierarchy.

GitOrigin-RevId: 70668760a0c1d846662a73db3b4c1beed1e30c79
2020-01-04 21:22:52 +00:00
Alexander Koshevoy
e3ccf46137 PY-39996 Switch from predefined CredentialsType.Vagrant to VagrantCredentialsType
GitOrigin-RevId: 6a44a75288b1d826163e30e7ab5fc5943a0ee465
2020-01-04 21:22:52 +00:00
Alexander Koshevoy
bb42822bd1 PY-39996 Switch from predefined CredentialsType.SSH_HOST to SshCredentialsType
The validation of interpreter path text field and helpers files path text field in `CreateRemoteSdkForm` is moved to the common method `validateRemoteInterpreter()`.

GitOrigin-RevId: b0226ee38ef35bf2d939f6213bf18feb135c9982
2020-01-04 21:22:52 +00:00
Dmitry.Krasilschikov
38f6f13df8 LAB-62 get rid of static *Bundle usages: more fields
GitOrigin-RevId: 69ded152ad5996ae07c45dc4fd6ff20224d25572
2020-01-01 11:03:11 +00:00
Dmitry.Krasilschikov
8718df4f50 LAB-62 get rid of static *Bundle usages: more fields with readable name
GitOrigin-RevId: a57e5216970e96c9e4ff5139ca8f5566835ca2e6
2019-12-31 17:02:19 +00:00
Dmitry.Krasilschikov
81be21f0e8 LAB-62 get rid of static *Bundle usages: more "bundle" fields with readable name
GitOrigin-RevId: 6c3695d146c1a01a904d3231903cf19ceb1f743c
2019-12-31 16:31:26 +00:00
Dmitry.Krasilschikov
925b542280 LAB-62 get rid of static *Bundle usages: more fields - replace getNAME() with more readable getName()
GitOrigin-RevId: 21134371a0a08ffc5f0023fa6551142631625d8b
2019-12-31 16:31:26 +00:00
Dmitry.Krasilschikov
3d68526667 LAB-62 get rid of static *Bundle usages: replace getNAME() with more readable getName()
GitOrigin-RevId: 9fd617248e5b405d2094ce949d1810555e0bf814
2019-12-31 16:31:26 +00:00
Semyon Proshev
f7a9d32840 Better warning message instead of Name 'variable' can be not defined (PY-39866)
GitOrigin-RevId: 68ab0989afd535a0f0958028290a021a21794663
2019-12-31 12:33:54 +00:00
Ilya.Kazakevich
4508e0de9d PY-31836: Use pytest parameter as test name, not keyword.
The correct way to use parameters is to add them to the test name.
"-k" is also works in some cases, but it is not official nor stable.

* pytest runner reports "testname[param]" as metainfo
* we fetch param
* add "parameters" field to the pytest
* glue it with test name

GitOrigin-RevId: 56c5d93fd93a12ba5742b21af51ea04823a9d8f7
2019-12-30 13:34:33 +00:00
Dmitry.Krasilschikov
443cff010d LAB-62 get rid of static *Bundle usages: inline third party plugins used fields with default values
GitOrigin-RevId: fd3877a97f8a075ec3e1ff2ecc7ba61a1a61cf6f
2019-12-29 19:03:50 +00:00