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

Fix special new line characters in a file #2708

Merged
merged 88 commits into from
Jan 27, 2020

Conversation

tonybruguier-google
Copy link
Contributor

@tonybruguier-google tonybruguier-google commented Jan 25, 2020

It seems that this file had weird unicode characters for new lines. Maybe it would make sense to fix them?

Fixes #2036.

@tonybruguier-google tonybruguier-google changed the title Fix special Fix special new line characters in a file Jan 25, 2020
@googlebot googlebot added the cla: yes Makes googlebot stop complaining. label Jan 25, 2020
@tonybruguier-google
Copy link
Contributor Author

Actually, I looked more and the character is ASCII 0x0A a.k.a. LN a.k.a. line-feed.

@vtomole vtomole requested a review from cduck January 27, 2020 14:56
@mpharrigan
Copy link
Collaborator

My IDE does indeed report that the file uses CRLF (windows-style) line endings. The convention is LF (unix-style) line endings

Copy link
Collaborator

@cduck cduck left a comment

Choose a reason for hiding this comment

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

LGTM. The old file had CRLF line endings and this PR changes it to LF line endings. I confirmed with git diff --ignore-space-at-eol that this was the only change.

@vtomole
Copy link
Collaborator

vtomole commented Jan 27, 2020

@cduck Should we add that command as part of format-incremental?

@cduck
Copy link
Collaborator

cduck commented Jan 27, 2020

@vtomole That might be a good idea although this issue doesn't occur often.

@cduck cduck merged commit 1bda272 into quantumlib:master Jan 27, 2020
@tonybruguier-google tonybruguier-google deleted the fix_special branch January 29, 2020 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Makes googlebot stop complaining.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Style] cirq/protocols/equal_up_to_global_phase.py has carriage returns
7 participants