Add Scalafmt Support to Pants

Review Request #4216 - Created Sept. 9, 2016 and submitted

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

Integrating Scalafmt Style Checks into Pants.

The test Target now checks if .scala files conform to the configured Scalafmt settings. If not the Target run fails.
- Added a ScalaFmt Task, that checks if all .scala files in the target match the Scalafmt config
- Registered ScalaFmt Task to run as part of the test Target
- Added Configuration to pants.ini to read config and to disable the Scalafmt check. It is currently disabled.
- Added a default Scalafmt config
- Added Scalafmt Integration Test Cases

Github Pull Request
All tests and CI passes

Issues

  • 0
  • 9
  • 2
  • 11
Description From Last Updated
Mateo Rodriguez
Yi Cheng
Stu Hood
Mateo Rodriguez
Caitie McCaffrey
Mateo Rodriguez
Stu Hood
Caitie McCaffrey
Review request changed

Status: Closed (submitted)

Change Summary:

Merged as 8ba7de4388088573ba5fee04fee09472e8c92c09

Loading...