Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DOCS-423] Fix
make quick_pyright
when editing docs (#23945)
## Summary & Motivation As title -- this makes precommit hooks work when modifying things in the docs_beta_snippets directory (which is explicitly excluded from pyright as it requires dagster-cloud). It's totally expected in some cases for there to be no environment which maps to a particular file, in the case where we are explicitly excluding that file's directory from type checking. Note that the function I modified is only used in the quick_pyright script not the full pyright build that we run in CI, so this leniancy will not impact the overall correctness of anything, it's just a matter of avoiding local errors. ## How I Tested These Changes ## Changelog [New | Bug | Docs] NOCHANGELOG
- Loading branch information
52c25d2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for dagster-docs-beta ready!
✅ Preview
https://dagster-docs-beta-psxdo13iz-elementl.vercel.app
https://dagster-docs-beta.dagster-docs.io
Built with commit 52c25d2.
This pull request is being automatically deployed with vercel-action