Eric Traut
|
e4197c3c2b
|
Updated import resolution documentation to cover a case that was previously not mentioned in the docs. This addresses #6415.
|
2023-11-10 18:28:46 -08:00 |
|
Erik De Bonte
|
4137f0ca43
|
Docs could be clearer about which .pth files work in editable install scenarios (#6079)
|
2023-10-03 16:37:00 -07:00 |
|
Eric Traut
|
050a3c6cea
|
Fixed a bug in the command-line version of pyright where it did not enable "auto search paths", so it didn't automatically add "src" as an extra path. This addresses https://github.com/microsoft/pyright/issues/4771.
|
2023-07-31 23:27:45 -06:00 |
|
Eric Traut
|
ba18f421d1
|
Deprecated command-line options 'typeshed-path' and 'venv-path' in favor of 'typeshedpath' and 'venvpath'. The hyphenated options were inconsistent with the conventions used for other options.
|
2023-05-13 15:56:26 -07:00 |
|
Eric Traut
|
5d6eacd5e1
|
Changed the default of the useLibraryCodeForTypes from false to true to bring pylance and pyright into alignment. Also deprecated the "--lib" command-line option, which was previously used to enable useLibraryCodeForTypes from the command line. (#4903)
Co-authored-by: Eric Traut <erictr@microsoft.com>
|
2023-04-05 09:47:59 -06:00 |
|
Eric Traut
|
08b2cb4698
|
Did a consistency pass on documentation markdown.
|
2023-03-06 18:10:33 -07:00 |
|
Eric Traut
|
b3fd962116
|
Fixed bugs in documentation.
|
2023-03-06 15:45:51 -07:00 |
|
Eric Traut
|
344b091bfe
|
Minor formatting improvements to documentation.
|
2023-02-14 18:23:13 -08:00 |
|
Erik De Bonte
|
f21d04f204
|
Editable install docs (#4020)
|
2022-10-07 11:44:33 -07:00 |
|
Eric Traut
|
a03acb0f41
|
Changed import resolution order to more closely match PEP 561. Typeshed stdlib type stubs are now resolved later in the import resolution process, after all local modules and modules within the python environment.
|
2022-01-27 22:57:30 -08:00 |
|
Jake Bailey
|
893d08be8c
|
Update everything for main branch rename
|
2021-05-13 13:26:44 -07:00 |
|
Eric Traut
|
09cb091fe9
|
Removed support for "venv" entry in execution environments since this never really worked. Clarified in documentation that import resolution within an execution environment is not transitive.
|
2021-03-09 18:19:36 -08:00 |
|
Eric Traut
|
5d44a7e35d
|
Updated import resolution documentation to accurately reflect recent changes related to py.typed packages.
|
2020-09-23 14:20:23 -07:00 |
|
Eric Traut
|
0cb83d36c8
|
Renamed setting "pyright.useLibraryCodeForTypes" to "python.analysis.useLibraryCodeForTypes" for compatibility with Pylance. The older setting name is still supported but will be removed in the future.
|
2020-07-16 15:58:09 -07:00 |
|
Eric Traut
|
5e4cbeca63
|
Fixed a few markdown issues in import resolution documentation.
|
2020-07-11 14:00:20 -07:00 |
|
Eric Traut
|
5526b9aafe
|
More tweaks to import resolution documentation.
|
2020-07-11 13:42:17 -07:00 |
|
Eric Traut
|
19c8a47ff8
|
Changed Pyright import resolution order to match that described in PEP 561. In particular, stubs in stubPath are now searched prior to user code, and third-party typeshed stubs are searched only after installed packages are searched for stub packages and inline stubs. There is one place where Pyright's import resolution still differs from a strict interpretation of PEP 561: it searches stdlib typeshed stubs first (unless typeshedPath is defined, in which case it searches there). This is more consistent with the way the Python interpreter resolves stdlib types.
|
2020-07-11 13:39:32 -07:00 |
|
Eric Traut
|
5a57aaa14f
|
Added more details to the import resolution documentation.
|
2020-07-11 12:53:17 -07:00 |
|
Eric Traut
|
9505d1b242
|
Added new section on debugging import resolution problems.
|
2020-07-11 12:40:29 -07:00 |
|
Eric Traut
|
ef1b4d8441
|
Missed a file.
|
2020-07-11 12:35:29 -07:00 |
|
Eric Traut
|
69c0841d7a
|
Updated Pyright documentation for import resolution so it is more complete and better reflects the logic implemented in the code.
|
2020-07-11 12:35:05 -07:00 |
|
Jake Bailey
|
02bdbdee07
|
Revert markdown changes, restore .vscode for server (#115)
|
2020-02-25 12:57:54 -08:00 |
|
Jake Bailey
|
8d2cca7289
|
Mass reformat ts/js/md with ESLint quick fixes and prettier (#113)
|
2020-02-24 16:52:23 -08:00 |
|
Eric Traut
|
294cc3d12c
|
Fixed some typos in documentation.
|
2019-09-26 19:38:48 -07:00 |
|
Eric Traut
|
1f3ed05adc
|
Documented recent features.
|
2019-09-04 23:54:19 +00:00 |
|
Eric Traut
|
955074c634
|
Added documentation for new strict mode.
|
2019-04-28 12:59:19 -07:00 |
|
Eric Traut
|
b5d0299de3
|
Added support for retrieving search paths from configured python interpreter.
|
2019-04-09 00:38:54 -07:00 |
|
Eric Traut
|
04217bda4c
|
Added documentation about import resolution.
|
2019-03-31 12:28:24 -07:00 |
|