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

Run scalafix before scalafmt #6011

Merged
merged 2 commits into from Jun 23, 2018
Merged

Conversation

wisechengyi
Copy link
Contributor

Fixes #6009

Copy link
Sponsor Member

@stuhood stuhood left a comment

Choose a reason for hiding this comment

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

Did you want this cherry-picked to 1.8.x?

@@ -217,7 +217,7 @@ def register_goals():

# Formatting.
task(name='scalafmt', action=ScalaFmtFormat, serialize=False).install('fmt')
task(name='scalafix', action=ScalaFixFix).install('fmt')
task(name='scalafix', action=ScalaFixFix).install(goal='fmt', before='scalafmt')
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Could also just reorder these lines. But this is fine too!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh duh! haha how did i miss that? I will just reverse them.

If there is other issue to cherry pick, then might as well. Otherwise waiting for 1.9.x is good too.

Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Picked it.

@wisechengyi wisechengyi merged commit f7e21eb into pantsbuild:master Jun 23, 2018
@wisechengyi wisechengyi deleted the scalafix_first branch June 23, 2018 07:24
@stuhood stuhood added this to the 1.8.x milestone Jun 23, 2018
stuhood pushed a commit that referenced this pull request Jun 23, 2018
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