jakebailey/Run pyright
Run pyright
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | Version of pyright to run, or "PATH" to use pyright from $PATH. If neither version nor pylance-version are specified, the latest version will be used. | no | — |
| pylance-version | Version of pylance whose pyright version should be run. Can be latest-release, latest-prerelease, or a specific pylance version. Ignored if version option is specified. | no | — |
| working-directory | Directory to run pyright in. If not specified, the repo root will be used. | no | — |
| annotate | A comma separated list of check annotations to emit. May be "none"/"false", "errors", "warnings", or "all"/"true" (shorthand for "errors, warnings"). | no | all |
| create-stub | Create type stub file(s) for import. Note: using this option disables commenting. | no | — |
| dependencies | Emit import dependency information. Note: using this option disables commenting. | no | — |
| ignore-external | Ignore external imports for verify-types. | no | — |
| level | Minimum diagnostic level (error or warning) | no | — |
| project | Use the configuration file at this location. | no | — |
| python-platform | Analyze for a specific platform (Darwin, Linux, Windows). | no | — |
| python-path | Path to the Python interpreter. | no | — |
| python-version | Analyze for a specific version (3.3, 3.4, etc.). | no | — |
| skip-unannotated | Skip analysis of functions with no type annotations. | no | — |
| stats | Print detailed performance stats. Note: using this option disables commenting. | no | — |
| typeshed-path | Use typeshed type stubs at this location. | no | — |
| venv-path | Directory that contains virtual environments. | no | — |
| verbose | Emit verbose diagnostics. Note: using this option disables commenting. | no | — |
| verify-types | Package name to run the type verifier on; must be an *installed* library. Any score under 100% will fail the build. Using this option disables commenting. | no | — |
| warnings | Use exit code of 1 if warnings are reported. | no | false |
| extra-args | Extra arguments; can be used to specify specific files to check. | no | — |
| lib | Use library code to infer types when stubs are missing. | no | false |
| no-comments | Disable issue/commit comments. | no | false |
Outputs
no outputs