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

Caitie/scalafmt update #3963

Closed
wants to merge 10 commits into from
Closed

Caitie/scalafmt update #3963

wants to merge 10 commits into from

Conversation

CaitieM20
Copy link

Adds scalafmt formatting to the fmt command for scala files.

Refactored ScalaFmt class into a base class, with two sub classes ScalaFmtCheckFormat (checks if files are formatted correctly) and ScalaFmtFormat (formats the files).

Both of these are currently turned off in pants.ini.

stuhood pushed a commit that referenced this pull request Oct 18, 2016
Adds scalafmt formatting to the fmt command for scala files.

Refactored ScalaFmt class into a base class, with two sub classes ScalaFmtCheckFormat (checks if files are formatted correctly) and ScalaFmtFormat (formats the files).  This ensures that the same version of scalafmt is used for both.

Both of these are currently turned off in pants.ini. Skip=True

Testing Done:
New Integration Test Case
CI passes [#3936](#3963)

Reviewed at https://rbcommons.com/s/twitter/r/4312/
stuhood pushed a commit that referenced this pull request Oct 18, 2016
Adds scalafmt formatting to the fmt command for scala files.

Refactored ScalaFmt class into a base class, with two sub classes ScalaFmtCheckFormat (checks if files are formatted correctly) and ScalaFmtFormat (formats the files).  This ensures that the same version of scalafmt is used for both.

Both of these are currently turned off in pants.ini. Skip=True

Testing Done:
New Integration Test Case
CI passes [#3936](#3963)

Reviewed at https://rbcommons.com/s/twitter/r/4312/
@stuhood
Copy link
Member

stuhood commented Oct 18, 2016

Merged as 0779a82

@stuhood stuhood closed this Oct 18, 2016
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.

2 participants