Skip to content

Commit

Permalink
style: styleCheck
Browse files Browse the repository at this point in the history
disable styleCheck
  • Loading branch information
Hannahjjj97 committed Feb 12, 2025
1 parent ea01181 commit 97f8666
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/frc/robot/drivebase/SwerveModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,9 @@ public SwerveModulePosition getPosition() {
return new SwerveModulePosition(
getDriveDistance(), getRotation2d());
}
// CHECKSTYLE.SUPPRESS: LineLength

private double[] optimizeOutputVoltage(SwerveModuleState goalState, Rotation2d currentRotation2d) {

Check warning on line 131 in src/main/java/frc/robot/drivebase/SwerveModule.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/main/java/frc/robot/drivebase/SwerveModule.java#L131 <com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck>

Line is longer than 100 characters (found 101).
Raw output
/github/workspace/./src/main/java/frc/robot/drivebase/SwerveModule.java:131:0: warning: Line is longer than 100 characters (found 101). (com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck)
// CHECKSTYLE.SUPPRESS: LineLength

Check warning on line 132 in src/main/java/frc/robot/drivebase/SwerveModule.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/main/java/frc/robot/drivebase/SwerveModule.java#L132 <com.puppycrawl.tools.checkstyle.checks.indentation.CommentsIndentationCheck>

Comment has incorrect indentation level 5, expected is 4, indentation should be the same level as line 133.
Raw output
/github/workspace/./src/main/java/frc/robot/drivebase/SwerveModule.java:132:6: warning: Comment has incorrect indentation level 5, expected is 4, indentation should be the same level as line 133. (com.puppycrawl.tools.checkstyle.checks.indentation.CommentsIndentationCheck)
SwerveModuleState desiredState = new SwerveModuleState(
goalState.speedMetersPerSecond, goalState.angle);
desiredState.optimize(currentRotation2d);
Expand Down

0 comments on commit 97f8666

Please sign in to comment.