Adding scalafmt formatting to fmt goal

Review Request #4312 - Created Oct. 14, 2016 and submitted

Information
Caitie McCaffrey
pants
Reviewers
pants-reviews
ity, kwlzn, mateor, stuhood

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

New Integration Test Case
CI passes #3936

Issues

  • 0
  • 5
  • 2
  • 7
Description From Last Updated
Stu Hood
Caitie McCaffrey
Stu Hood
Benjy Weinberger
Mateo Rodriguez
Caitie McCaffrey
Mateo Rodriguez
Caitie McCaffrey
Review request changed

Status: Closed (submitted)

Change Summary:

Merged as 0779a823cae955c67948108d2a9e58a1f02db561

Loading...