Skip to content

Fix pytype error highlights for 1-line errors that doesn't have an end_line#1884

Merged
copybara-service[bot] merged 1 commit intomainfrom
cl/743919280
Apr 7, 2025
Merged

Fix pytype error highlights for 1-line errors that doesn't have an end_line#1884
copybara-service[bot] merged 1 commit intomainfrom
cl/743919280

Conversation

@copybara-service
Copy link

Fix pytype error highlights for 1-line errors that doesn't have an end_line

Before the fix, a python-compiler-error could be printed as:

type Point = tuple[float, float]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
type Point = tuple[float, float]

Now, it will be correctly printed to:

type Point = tuple[float, float]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@google-cla
Copy link

google-cla bot commented Apr 4, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@copybara-service copybara-service bot force-pushed the cl/743919280 branch 2 times, most recently from a0dee9f to 12ebb0b Compare April 7, 2025 16:56
PiperOrigin-RevId: 744769319
@copybara-service copybara-service bot merged commit e59dc81 into main Apr 7, 2025
@copybara-service copybara-service bot deleted the cl/743919280 branch April 7, 2025 17:30
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.

0 participants