-
Notifications
You must be signed in to change notification settings - Fork 5
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
Check diffs with Pyright #1042
Comments
I really like this, thank you! I think we should use it. Some things we should do first though:
|
dperl-dls
added a commit
that referenced
this issue
Dec 14, 2023
dperl-dls
added a commit
that referenced
this issue
Dec 14, 2023
dperl-dls
added a commit
that referenced
this issue
Dec 14, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using https://github.com/Bachmann1234/diff_cover
And this plugin https://github.com/dperl-dls/pyright_diff_quality_plugin
We can test branches for Pyright type-checking compliance without having to fix everything in the codebase at once.
To test this out:
diff-quality --violations pyright
For example, on my current branch I get:
Should we use this to help us migrate slowly to stricter type checking (and at some stage, hopefully, discard it for just using pyright)?
The text was updated successfully, but these errors were encountered: