checkstyle icon indicating copy to clipboard operation
checkstyle copied to clipboard

Issue #15449: validation that all excluded from formatting google Input files have InputFormatted

Open romani opened this issue 1 year ago • 3 comments

Closes #15449

output:

✘-1 ~/java/github/romani/checkstyle [i15449-sync-Inputs L|✚ 1⚑ 2] 
$ ./.ci/google-java-format.sh .ci-temp/google-java-format-1.23.0-all-deps.jar
Checking that all excluded java files in this script have matching InputFormatted* file:
Create InputFormattedSingleLineJavadocAndInvalidJavadocPosition.java for InputSingleLineJavadocAndInvalidJavadocPosition.java
Create InputFormattedInvalidJavadocPosition.java for InputInvalidJavadocPosition.java
Create InputFormattedCamelCaseDefined.java for InputCamelCaseDefined.java
Create InputFormattedClassNames.java for InputClassNames.java
Create InputFormattedUseOfOptionalBraces.java for InputUseOfOptionalBraces.java
Create InputFormattedEmptyBlocksAndCatchBlocks.java for InputEmptyBlocksAndCatchBlocks.java
Create InputFormattedEmptyFinallyBlocks.java for InputEmptyFinallyBlocks.java
Create InputFormattedOneVariablePerDeclaration.java for InputOneVariablePerDeclaration.java
Create InputFormattedDeclaredWhenNeeded.java for InputDeclaredWhenNeeded.java
Create InputFormattedFallThrough.java for InputFallThrough.java
Create InputFormattedAnnotationLocation.java for InputAnnotationLocation.java
Create InputFormattedAnnotationLocationVariables.java for InputAnnotationLocationVariables.java
Create InputFormattedCommentsIndentation.java for InputCommentsIndentation.java
Create InputFormattedNoWildcardImports.java for InputNoWildcardImports.java
Create InputFormattedOrderingAndSpacing1.java for InputOrderingAndSpacing1.java
Create InputFormattedOrderingAndSpacing2.java for InputOrderingAndSpacing2.java
Create InputFormattedOrderingAndSpacing3.java for InputOrderingAndSpacing3.java
Create InputFormattedOrderingAndSpacing4.java for InputOrderingAndSpacing4.java
Create InputFormattedOrderingAndSpacing5.java for InputOrderingAndSpacing5.java
Create InputFormattedOrderingAndSpacingValid.java for InputOrderingAndSpacingValid.java
Create InputFormattedOrderingAndSpacingValid2.java for InputOrderingAndSpacingValid2.java
✘-1

CI will fail, we should merge it after all InputFormatted are created.

romani avatar Aug 27 '24 12:08 romani

Github, generate report by config from InputRedundantModifierFinalUnnamedVariables.java

romani avatar Aug 27 '24 22:08 romani

https://checkstyle-diff-reports.s3.us-east-2.amazonaws.com/1741336_2024022824/reports/diff/index.html

For Roman: https://github.com/checkstyle/checkstyle/blob/b3847a01dd27183d277cc5ac07f4ff2fb1555d2f/src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/modifier/redundantmodifier/InputRedundantModifierFinalUnnamedVariables.java#L2

github-actions[bot] avatar Aug 28 '24 02:08 github-actions[bot]

Github, generate report for RegexpHeader/all-examples-in-one

romani avatar Aug 28 '24 04:08 romani

Github, generate report for Regexp/all-examples-in-one

romani avatar Sep 03 '24 22:09 romani

Report generation failed. Please check the logs for more details.
Link: https://github.com/checkstyle/checkstyle/actions/runs/10691526033

github-actions[bot] avatar Sep 03 '24 22:09 github-actions[bot]

Github, generate report for RedundantModifier/all-examples-in-one

romani avatar Sep 03 '24 23:09 romani

https://checkstyle-diff-reports.s3.us-east-2.amazonaws.com/6525552_2024235622/reports/diff/index.html

github-actions[bot] avatar Sep 03 '24 23:09 github-actions[bot]

Github, generate report for RedundantImport/all-examples-in-one

romani avatar Sep 04 '24 00:09 romani

https://checkstyle-diff-reports.s3.us-east-2.amazonaws.com/6525552_2024014407/reports/diff/index.html

github-actions[bot] avatar Sep 04 '24 01:09 github-actions[bot]

Github, generate report for RecordTypeParameterName/all-examples-in-one

romani avatar Sep 04 '24 04:09 romani

https://checkstyle-diff-reports.s3.us-east-2.amazonaws.com/6525552_2024050736/reports/diff/index.html

github-actions[bot] avatar Sep 04 '24 05:09 github-actions[bot]