Граф коммитов

24 Коммитов

Автор SHA1 Сообщение Дата
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 c83a95e62e More improvements to documentation. 2023-03-07 16:38:22 -07:00
Eric Traut 1fdeadeca6 Improved "getting started" documentation. 2023-03-07 09:53:49 -07:00
Eric Traut b3fd962116 Fixed bugs in documentation. 2023-03-06 15:45:51 -07:00
Keming de86a34dd4
fix typo (#3601) 2022-06-21 19:08:37 -07:00
Eric Traut 4ae8b9233e Made suggested improvements to documentation. 2022-06-18 23:00:11 -07:00
Eric Traut 562a6b4848 In basic type checking mode, enabled the following diagnostic checks by default: reportOptionalSubscript, reportOptionalMemberAccess, reportOptionalCall, reportOptionalIterable, reportOptionalContextManager, and reportOptionalOperand. 2021-06-16 18:43:58 -07:00
Alexey Shamrin ec7bf81cb8
correct useLibraryCodeForTypes CLI argument (#1322) 2020-12-28 07:46:39 -08:00
Eric Traut 2002520d0b Moved CI documentation to its own page. 2020-07-22 16:55:50 -07:00
Eric Traut d687708503 Updated "getting started" documentation to include an example git hook definition. 2020-07-22 16:53:34 -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 c80b8af3aa Updated "getting started" docs. 2020-07-11 14:40:01 -07:00
Eric Traut c1fb36b50b Documented bash script for upgrading pyright and running it as part of CI. 2020-04-15 10:59:17 -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
Saugat Acharya 8a9479552d
Update getting-started.md
- Remove double quotes before comment
- Highlight `pyrightconfig.json`
2019-11-17 19:01:04 +05:45
Eric Traut e55bee2c09 Updated getting-started instructions. 2019-05-11 19:53:25 -07:00
Eric Traut 4a6123d015 Tweaked documentation. 2019-04-06 15:07:20 -07:00
Eric Traut cb860ed56f Added new "reportUntypedFunctionDecorator" setting to control whether untyped function decorators are reported. 2019-04-05 09:47:37 -07:00
Eric Traut d29e64aecf Added switches for reportOptionalSubscript, reportOptionalMemberAccess and reportOptionalCall. 2019-03-31 21:58:35 -07:00
Eric Traut cc261abf7c Renamed reportMissingStubFiles to reportMissingTypeStubs. 2019-03-26 19:49:50 -07:00
Eric Traut 0ba5a1a8cb Added support for a few configuration settings in VS Code that are common to the standard VS Code Python extension.
Added new setting "reprtMissingStubFiles".
2019-03-26 19:47:02 -07:00
Eric Traut 24bc2ad86e A few updates to the docs. 2019-03-20 21:37:56 -07:00
Eric Traut c8531cc9a9 Updated documentation. 2019-03-20 21:31:15 -07:00