-
Notifications
You must be signed in to change notification settings - Fork 5
Adds offset '1', because pyrights offsets are zero-based (issue #25) #26
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
Conversation
Thanks for the fix! I checked out this branch and poked at it a bit. Based on pyright's output, and on the response to the issue you linked in the pyright repo, I think the column numbers are 0-based as well, and we need to bump those also. Here's a raw diagnostic from pyright running on bad.py:
Here's the line it's referring to:
If you assume If you assume According to the Reviewdog JSON Schema, their positions are one-based: https://github.com/reviewdog/reviewdog/blob/master/proto/rdf/jsonschema/Position.jsonschema |
Co-authored-by: Jordan Webb <jordan@caketop.app>
Co-authored-by: Jordan Webb <jordan@caketop.app>
Co-authored-by: Jordan Webb <jordan@caketop.app>
Co-authored-by: Jordan Webb <jordan@caketop.app>
makes sense, thanks for checking this out |
Merged, thanks! |
🚀 [bumpr] Bumped! New version:v1.6.0 Changes:v1.5.0...v1.6.0 |
No description provided.