Conversation
1 task
jeanconn
approved these changes
Jan 10, 2023
Contributor
jeanconn
left a comment
There was a problem hiding this comment.
I haven't checked every line but agree on the process and like the result.
Contributor
|
(I suppose I should have approved conditional on confirmation this actually runs (and basically does not apply any code changes), but I had some confidence in perltidy in that regard.) |
Member
Author
This was referenced Jun 1, 2023
Merged
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
I did this:
find . -name '*.p[ml]' | xargs perltidy -b -pt=2 -mft=1 -l 88 --no-valignInterestingly, even though (in fine Perl form)
perltidyhas a bazillion formatting options, they really want to vertically align all the=>in a hash or=in subsequent assignments. I discovered at https://stackoverflow.com/questions/4538209 that there is an undocumented--no-valignoption.Maybe the Perl style is to do all that vertical alignment, but to me it just looks old.
For the record, I installed
perltidyin a dev ska env withcpanm Perl::Tidyand this worked just fine.Interface impacts
None
Testing
Functional tests
Just regression.
Ran the standard starcheck set and saw no diffs. Ran the set we used for #402 in
https://icxc.cfa.harvard.edu/aspect/test_review_outputs/starcheck-pr405/
and see no diffs.