-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add end_line
and end_column
to the output of the JSONReporter
#5380
Comments
I'm wondering if we could do this change earlier. The last few days I've been working on the VSCode python extension to enable error ranges for pylint. The issue is that the As I see it, the As the VSCode error range update depends on this (or an alternative), I would like to add a solution in time for What do you think @Pierre-Sassoulas and @DanielNoord? I'm also open to other ideas how to resolve this. |
I think it makes sense. The only issue I foresee now is when people use I do wonder however how this relates to the breaking changes introduced with #3514 and #4741. I think it might make sense to see if we can prepare support for these changes in |
Left a comment there: #4741 (comment). Basically I believe that it could be implemented without breaking existing use cases. |
Current problem
These attributes were added in
astroid
2.9.0
to most nodes and should be accessible from the output of theJSONReporter
.Desired solution
Basically all changes in this reverted commit should be committed to
3.0
:6e91225
Additional context
No response
The text was updated successfully, but these errors were encountered: