Updated CLI documentation to clarify that files specified on the command line do not cause the config file to be ignored entirely.

This commit is contained in:
Eric Traut 2023-04-22 19:31:52 -07:00
parent 3b72724842
commit 2c6e5b2938

View File

@ -25,7 +25,7 @@ Pyright can be run as either a VS Code extension or as a node-based command-line
| --warnings | Use exit code of 1 if warnings are reported |
| -w, --watch | Continue to run and watch for changes (4) |
(1) If specific files are specified on the command line, the pyrightconfig.json file is ignored.
(1) If specific files are specified on the command line, it overrides the files or directories specified in the pyrightconfig.json or pyproject.toml file.
(2) Pyright has built-in typeshed type stubs for Python stdlib functionality. To use a different version of typeshed type stubs, specify the directory with this option.