Skip to content
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

added parsable line number and col number #3160

Closed
wants to merge 2 commits into from

Conversation

cibinmathew
Copy link

@cibinmathew cibinmathew commented Jul 10, 2022

Description

Change the error report style to file:line:column to make it parsable for external editors etc
Fixes #3157

Checklist - did you ...

  • Add a CHANGELOG entry if necessary?
  • Add / update tests if necessary?
  • Add new / update outdated documentation?

@cibinmathew cibinmathew force-pushed the error_report_style branch 3 times, most recently from 13e0889 to 3388d56 Compare August 13, 2022 17:23
@github-actions
Copy link

diff-shades reports zero changes comparing this PR (b297fc3) to main (4ebf14d).


What is this? | Workflow run | diff-shades documentation

@cibinmathew cibinmathew marked this pull request as ready for review August 13, 2022 17:29
"""Increment the counter for failed reformatting. Write out a message."""
err(f"error: cannot format {src}: {message}")
if lineno and column:
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently adding line_number/column only if both are available

@cibinmathew cibinmathew marked this pull request as draft August 14, 2022 05:51
@hauntsaninja
Copy link
Collaborator

hauntsaninja commented Jul 1, 2023

Thanks, but this PR is stale and not currently close to mergeable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change the error report style to file:line:column
2 participants