You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the project I'm working on, we have a folder with notebooks that we want to do type-checking on. We also want to run pre-commit to catch errors. For other python code, we use the pyright pre-commit hook plus run pyright as a CLI command in a github action.
The errors in notebooks will be flagged under the "problems" tab in VSCode, but we are looking for a way to automatically get alerted through either a pre-commit hook or some CLI tool that is run in the CI-pipeline. According to this comment it does not seem like pyright will support notebooks very soon.
I could not find any pylance pre-commit hook. Do you have any suggestions on how to automatically check our notebooks?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there, and thanks for an amazing extension
In the project I'm working on, we have a folder with notebooks that we want to do type-checking on. We also want to run pre-commit to catch errors. For other python code, we use the pyright pre-commit hook plus run pyright as a CLI command in a github action.
The errors in notebooks will be flagged under the "problems" tab in VSCode, but we are looking for a way to automatically get alerted through either a pre-commit hook or some CLI tool that is run in the CI-pipeline. According to this comment it does not seem like pyright will support notebooks very soon.
I could not find any pylance pre-commit hook. Do you have any suggestions on how to automatically check our notebooks?
Beta Was this translation helpful? Give feedback.
All reactions