LEGUP icon indicating copy to clipboard operation
LEGUP copied to clipboard

[BUG] Build requires CheckStyle to pass, which causes issues with the autoformatter

Open charlestian23 opened this issue 1 year ago • 0 comments

Description

For this action run: https://github.com/Bram-Hub/LEGUP/actions/runs/8712645184/job/23899374282?pr=812

We can see that build fails, which makes the GitHub Action for the autoformatter fail. This obviously is problematic, since the autoformatter is supposed to fix these CheckStyle issues.

Steps to Reproduce

N/A

Expected Behavior

The autoformatter should run. In this case, we should change the expected behavior of CheckStyle to not require braces when there is only 1 line inside of a code block. For example, this code should be allowed:

if (true)
     System.out.println("Hello World");

Screenshots

No response

Puzzle Files

No response

Additional Context

No response

charlestian23 avatar Apr 16 '24 21:04 charlestian23