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

pretty-print the ignore_for_file lines #770

Merged
merged 2 commits into from
Nov 9, 2022

Conversation

devoncarew
Copy link
Collaborator

@devoncarew devoncarew commented Nov 8, 2022

  • pretty-print the // ignore_for_file: xxx lines (ensure they don't exceed 80 chars)
  • add a few blank lines in the generated method bodies to make them easier to read

Most of the changes in this PR are in the golden test files.

cc @osa1

Copy link
Member

@osa1 osa1 left a comment

Choose a reason for hiding this comment

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

LGTM, but .gitignore seems to be unintentionally updated.

.gitignore Outdated
@@ -9,3 +9,4 @@ packages
pubspec.lock
benchmarks/out
doc/
protoc/
Copy link
Member

Choose a reason for hiding this comment

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

Why was this added? Should it be removed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, this was me ignoring my local install of protoc :) I'll remove this from the PR.

@devoncarew
Copy link
Collaborator Author

@@osa1 - can you merge this? Thanks!

@osa1 osa1 merged commit 4af1cb3 into google:master Nov 9, 2022
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.

None yet

2 participants