pyright/docs
Lucian Wischik c0fbb93ee4
Debugging (#7332)
* launch.json CLI debug that bypasses webpack

I got a bit irritated in my edit-build-debug inner loop with the time to run webpack.

This commit adds a new launch target called "Pyright CLI (pyright-internal)" which bypasses webpack and just runs the package straight from the packages/pyright-internal/out directory where tsc has built it.

* fix outFiles directive

The VSCode docs say about outFiles:
> By default, VS Code will search your entire workspace, excluding node_modules, for sourcemaps. In large workspaces, this search might be slow. You can configure the locations where VS Code will search for source maps by setting the outFiles attribute in your launch.json.

I guess this is the right change to make? it didn't make any difference in VSCode debugger's ability to hit breakpoints, though.

---------

Co-authored-by: Eric Traut <eric@traut.com>
2024-02-25 15:26:06 -07:00
..
img Moved badge to docs/img folder. 2023-05-06 08:25:03 -07:00
_navbar.md More tweaks to documentation and README files. Added a navbar to docs site. 2023-03-06 17:52:06 -07:00
_sidebar.md Added sidebar link to locale documentation section. 2024-01-05 09:46:10 -07:00
.nojekyll Added support for docsify-based docs site. 2023-03-06 15:46:07 -07:00
build-debug.md Debugging (#7332) 2024-02-25 15:26:06 -07:00
builtins.md Did a consistency pass on documentation markdown. 2023-03-06 18:10:33 -07:00
ci-integration.md Update ci-integration.md (#5259) 2023-06-09 08:37:45 -06:00
command-line.md Enhanced command-line version of pyright to allow file or directory names to be passed via stdin if - option is used in the command line. This addresses https://github.com/microsoft/pyright/issues/5342. 2023-06-19 18:00:31 -07:00
commands.md Did a consistency pass on documentation markdown. 2023-03-06 18:10:33 -07:00
comments.md Changed # pyright: basic file-level comment so it overrides "strict" settings specified in the config file or language server settings. This allows an individual file to be "downgraded" from strict to basic. This addresses https://github.com/microsoft/pyright/issues/4751. 2023-03-09 10:28:44 -07:00
configuration.md Improved consistency of documentation when talking about diagnostic settings. 2024-02-21 15:39:13 -07:00
features.md Documented support for PEP 728. 2024-02-21 15:34:05 -07:00
getting-started.md 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) 2023-04-05 09:47:59 -06:00
import-resolution.md 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
import-statements.md Added documentation for import statements. 2023-03-06 08:49:00 -07:00
index.html Fix Markdown links (#4849) 2023-03-27 19:48:11 -06:00
installation.md More improvements to documentation. 2023-03-07 16:38:22 -07:00
internals.md Deleted redundant documentation. 2023-06-05 15:06:24 -06:00
mypy-comparison.md Updated "mypy comparison" documentation based on recent improvements in mypy. It's now able to handle higher-order functions. 2024-01-16 00:32:52 -08:00
README.md Added a few useful links to the docs. 2024-01-21 20:35:11 -08:00
settings.md Added new language server setting pyright.disableTaggedHints to disable the use of diagnostics hints with tags. Some language server clients do not display these tagged hints in the intended manner and instead treat them as regular diagnostics. 2024-01-14 21:11:13 -08:00
type-concepts-advanced.md Updated documentation to indicate support for PEP 742. 2024-02-19 01:17:00 -07:00
type-concepts.md Added a few useful links to the docs. 2024-01-21 20:35:11 -08:00
type-inference.md Added support for parameter type inference for lambdas whose parameters include default arguments. This is analogous to the logic used for unannotated function parameters with default arguments. This addresses #6558. (#6563) 2023-11-27 17:51:31 -08:00
type-stubs.md Did a consistency pass on documentation markdown. 2023-03-06 18:10:33 -07:00
typed-libraries.md Modified type inference logic so methods that raise an exception whose type derives from NotImplementedError is not inferred to return NoReturn. Previously, only NotImplementedError was exempted, not subclasses. This addresses https://github.com/microsoft/pyright/issues/5608. (#5609) 2023-07-29 22:45:10 -06:00

Pyright

Static type checker for Python

Pyright is a full-featured, standards-compliant static type checker for Python. It is designed for high performance and can be used with large Python source bases.

Pyright includes a command-line tool, a language server, and an extension for Visual Studio Code.