mirror of
https://github.com/microsoft/pyright.git
synced 2024-09-11 07:55:56 +03:00
Improved docs string for the --skipunannotated
command line option.
This commit is contained in:
parent
fb7ae7bb3c
commit
5840e3eb7c
@ -15,7 +15,7 @@ Pyright can be run as either a VS Code extension or as a node-based command-line
|
|||||||
| -p, --project `<FILE OR DIRECTORY>` | Use the configuration file at this location |
|
| -p, --project `<FILE OR DIRECTORY>` | Use the configuration file at this location |
|
||||||
| --pythonplatform `<PLATFORM>` | Analyze for platform (Darwin, Linux, Windows) |
|
| --pythonplatform `<PLATFORM>` | Analyze for platform (Darwin, Linux, Windows) |
|
||||||
| --pythonversion `<VERSION>` | Analyze for version (3.3, 3.4, etc.) |
|
| --pythonversion `<VERSION>` | Analyze for version (3.3, 3.4, etc.) |
|
||||||
| --skipunannotated | Skip type analysis of unannotated functions? |
|
| --skipunannotated | Skip type analysis of unannotated functions |
|
||||||
| --stats | Print detailed performance stats |
|
| --stats | Print detailed performance stats |
|
||||||
| -t, --typeshed-path `<DIRECTORY>` | Use typeshed type stubs at this location (2) |
|
| -t, --typeshed-path `<DIRECTORY>` | Use typeshed type stubs at this location (2) |
|
||||||
| -v, --venv-path `<DIRECTORY>` | Directory that contains virtual environments (3) |
|
| -v, --venv-path `<DIRECTORY>` | Directory that contains virtual environments (3) |
|
||||||
|
@ -644,7 +644,7 @@ function printUsage() {
|
|||||||
' -p,--project <FILE OR DIRECTORY> Use the configuration file at this location\n' +
|
' -p,--project <FILE OR DIRECTORY> Use the configuration file at this location\n' +
|
||||||
' --pythonplatform <PLATFORM> Analyze for a specific platform (Darwin, Linux, Windows)\n' +
|
' --pythonplatform <PLATFORM> Analyze for a specific platform (Darwin, Linux, Windows)\n' +
|
||||||
' --pythonversion <VERSION> Analyze for a specific version (3.3, 3.4, etc.)\n' +
|
' --pythonversion <VERSION> Analyze for a specific version (3.3, 3.4, etc.)\n' +
|
||||||
' --skipunannotated Do not analyze functions and methods with no type annotations\n' +
|
' --skipunannotated Skip analysis of functions with no type annotations\n' +
|
||||||
' --stats Print detailed performance stats\n' +
|
' --stats Print detailed performance stats\n' +
|
||||||
' -t,--typeshed-path <DIRECTORY> Use typeshed type stubs at this location\n' +
|
' -t,--typeshed-path <DIRECTORY> Use typeshed type stubs at this location\n' +
|
||||||
' -v,--venv-path <DIRECTORY> Directory that contains virtual environments\n' +
|
' -v,--venv-path <DIRECTORY> Directory that contains virtual environments\n' +
|
||||||
|
Loading…
Reference in New Issue
Block a user