team5419 / TARS_V3

Other
0 stars 0 forks source link

Add spotless #15

Closed BBScholar closed 11 months ago

BBScholar commented 12 months ago

Added spotless check to repo. Will check if code is formatted correctly on push and merge.

One can call the ./gradlew spotlessApply to allow spotless to reformat code automatically. Call ./gradlew spotlessCheck to check if formatting is correct.

grappell commented 12 months ago

Is there a way to do spotless apply on build? Honestly I feel like it could get in the way if we constantly have to run spotlessApply every 3 seconds

BBScholar commented 12 months ago

You won't need to run spotlessApply constantly. I plan on preventing someone from pushing unless the code is formatted correctly. Shouldn't matter for deploy.

I can definitely force spotlessApply to run before build though.

BBScholar commented 12 months ago

Probably ready to send this.

grappell commented 11 months ago

Sick, thanks