Skip to content

Reformat driver arguments #12954

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

Merged
merged 6 commits into from
Nov 28, 2017

Conversation

Rostepher
Copy link
Contributor

Purpose

This is a follow-up PR to #12873. There's no functional changes in this PR, rather just a bunch of reformatting in the driver_arguments.py file to make all the argument parsing code more consistent.

I've moved all the top-level arguments into a single grouping at the top of the parser code. Then I re-formatted all string literals to use single rather than double quotes. Lastly I re-ordered the arguments passed to parser.add_argument such that help is always last (for readability) and action comes first.

rdar://34336890

@Rostepher
Copy link
Contributor Author

Ignore the first handful of commits, those are from #12873. Once that's merged I'll rebase this branch and they should disappear.

@Rostepher Rostepher force-pushed the reformat-driver-arguments branch 4 times, most recently from 0ba3411 to d79919c Compare November 17, 2017 04:51
@Rostepher Rostepher force-pushed the reformat-driver-arguments branch from d79919c to 3ac371e Compare November 28, 2017 08:17
@Rostepher
Copy link
Contributor Author

@swift-ci please test

@Rostepher
Copy link
Contributor Author

@swift-ci please smoke test

@Rostepher Rostepher requested review from lplarson and removed request for gottesmm November 28, 2017 08:22
@Rostepher
Copy link
Contributor Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 0baa8310bef03a0b5525182662a433c8bf57a5c2

@Rostepher
Copy link
Contributor Author

@swift-ci please smoke test

Copy link
Contributor

@lplarson lplarson left a comment

Choose a reason for hiding this comment

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

LGTM

@Rostepher Rostepher merged commit de7a517 into swiftlang:master Nov 28, 2017
@Rostepher Rostepher deleted the reformat-driver-arguments branch November 28, 2017 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants