Eric Traut
f605c8fb24
Added a new typeCheckingMode called "standard". It's a subset of "strict" but a superset of "basic". It is the new default mode, and it should cover all of the required checks for conformance with the Python typing standard. This addresses #66607 . ( #6627 )
2023-12-01 23:44:12 -08:00
Eric Traut
08a295a261
Added support for python.analysis.include
, `python.analysis.exclude… ( #6251 )
...
* Added support for `python.analysis.include`, `python.analysis.exclude` and `python.analysis.ignore` settings. These have been implemented in pylance for a while now, but they were never implemented previously in pyright. Also fixed a bug in the original implementation that caused the config file not to override the language server settings for `python.analysis.exclude` and `python.analysis.ignore` as it should. This addresses #6250 .
* Removed references to pylance in the help text.
2023-10-29 08:54:14 -07:00
Eric Traut
98b0604eb9
Added command-line option pythonpath
that allows the path to the python interpreter to be specified. This addresses https://github.com/microsoft/pyright/issues/5111 .
2023-05-13 16:19:14 -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
2827c94d89
Small correction to settings documentation.
2023-03-06 16:10:06 -07:00
Eric Traut
b3fd962116
Fixed bugs in documentation.
2023-03-06 15:45:51 -07:00
Jake Bailey
893d08be8c
Update everything for main branch rename
2021-05-13 13:26:44 -07:00
Andrew Grangaard
9f544885bc
fix typo in settings documentation. ( #1699 )
2021-03-29 20:21:32 -07:00
Eric Traut
006f5d60d1
Changed python.analysis.logLevel to use "Information" rather than "Info" for consistency with Python extension.
2020-09-14 14:44:18 -07:00
Eric Traut
295a6dd306
Changed capitalization of the python.analysis.logLevel setting so it matches Pylance. The settings code in Pyright is case insensitive, but the JSON editor emits a warning if the case doesn't match.
2020-08-20 09:17:32 -07:00
Jake Bailey
b89504d593
Add python.analysis.autoImportCompletions to control auto-import completions ( #917 )
2020-08-05 16:00:11 -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
3581910469
Improved documentation for useLibraryCodeForTypes setting.
2020-07-16 15:49:16 -07:00
Eric Traut
f6200f9887
Switched "pyright.typeCheckingMode" to "python.analysis.typeCheckingMode" for compatibility with Pylance.
2020-07-05 15:28:37 -07:00
Eric Traut
863721687b
Added support for the new Python extension setting for pythonPath. This mechanism replaces the soon-to-be-deprecated "python.pythonPath" setting.
2020-06-21 11:03:40 -07:00
Eric Traut
cf794e30d5
Added documentation for python.analysis.logLevel setting.
2020-06-18 21:40:43 -07:00
Jake Bailey
0a0cd61f85
Use docstrings from source code, fix references showing in libraries, add information level, client override support ( #685 )
2020-05-22 14:02:54 -07:00
Eric Traut
6f30005de1
Tweaked settings documentation to make it clear that we're deprecating pyright.openFilesOnly. Added backward compatibility support for python.analysis.openFilesOnly.
2020-05-15 15:42:27 -07:00
Jake Bailey
1d56d6765f
Fix windows bug, add PEP 604 printing, fix unused variable action, add stubPath and diagnosticMode ( #673 )
2020-05-15 13:01:55 -07:00
Jake Bailey
11918674e7
Add extraPath support, accept minor versions in version_info, make completion extension async ( #662 )
2020-05-07 16:52:53 -07:00
Eric Traut
921de3097e
Added support for "python.analysis.autoSearchPaths" setting. If enabled (as it is by default), it automatically adds "src" to the import search paths. It is common for workspaces to contain a directory by this name.
2020-04-25 14:26:46 -07:00
Eric Traut
a0b48358f5
Implemented new setting "pyright.disableOrganizeImports".
2020-04-12 02:10:20 -07:00
Eric Traut
fa34df5306
Added new pyright.typeCheckingMode setting for VS Code extension that allows you to set the default rule set for type checking. Three values are supported: "off", "basic", and "strict". This setting can be overridden in the pyrightconfig.json file with the typeCheckingMode config key.
2020-04-08 00:44:56 -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
ad17925f50
Added new VS Code experimental setting "useLibraryCodeForTypes". If enabled, pyright will attempt to extract type information from library implementation files.
2019-11-19 21:50:27 -08:00
Eric Traut
894cdbd52b
Added new VS Code setting "pyright.openFilesOnly", which is set to true.
2019-11-15 18:37:14 -08:00
Eric Traut
058d984755
Added new setting "pyright.disableLanguageServices" in VS Code extension for disabling language service features.
2019-08-16 22:51:50 -07:00