-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(sage-monorepo): type check Python projects with Pyright CLI and VS Code extension #2840
feat(sage-monorepo): type check Python projects with Pyright CLI and VS Code extension #2840
Conversation
Quality Gate passed for 'openchallenges-app'Issues Measures |
Quality Gate passed for 'schematic-api'Issues Measures |
Quality Gate passed for 'openchallenges-edam-etl'Issues Measures |
Quality Gate passed for 'openchallenges-challenge-service'Issues Measures |
Quality Gate passed for 'openchallenges-organization-service'Issues Measures |
Quality Gate passed for 'openchallenges-image-service'Issues Measures |
Description
integrate Pyright for type checking in Python projects within this monorepo
Motivation for integrating Pyright:
Changelog
sandbox-py-app:type-check
References
Preview
Python file to type check with two voluntary mistakes:
Type checking:
Notes
Pyright can be installed a Python or npm package. It looks like the Python package runs JS code (see dependency on
nodeenv
below).