Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: editorconfig updates #280

Merged
merged 3 commits into from
Jul 5, 2024
Merged

ci: editorconfig updates #280

merged 3 commits into from
Jul 5, 2024

Conversation

vbarua
Copy link
Member

@vbarua vbarua commented Jul 3, 2024

No description provided.

@vbarua
Copy link
Member Author

vbarua commented Jul 3, 2024

Weird. CI still fails for the editorconfig check https://github.com/substrait-io/substrait-java/actions/runs/9781058298/job/27004211456?pr=280 even though those files haven't been modified recently.

@vbarua vbarua force-pushed the vbarua/pin-editor-config-version branch from e68543b to cd0a454 Compare July 5, 2024 19:10
@vbarua vbarua closed this Jul 5, 2024
@vbarua vbarua reopened this Jul 5, 2024
@vbarua vbarua force-pushed the vbarua/pin-editor-config-version branch from cd0a454 to 9d991fc Compare July 5, 2024 19:16
@vbarua vbarua force-pushed the vbarua/pin-editor-config-version branch from 9d991fc to fd27c75 Compare July 5, 2024 19:19
@vbarua vbarua changed the title ci: pin editorconfig-checker version ci: editorconfig updates Jul 5, 2024
: '//' ~[\r\n]* -> channel(HIDDEN)
;
: '//' ~[\r\n]* -> channel(HIDDEN)
;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm choosing spaces over tabs here because that it what is used in examples in the ANTLR repo
https://github.com/antlr/grammars-v4/tree/master

@@ -19,3 +19,6 @@ trim_trailing_whitespace = unset

[*.gradle.kts]
indent_size = 2

[.gitmodules]
indent_style = tab
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.gitmodule has not been updated in 2 years, but the check is firing (and failing) now for some reason.
Adding an explicit configuration for .gitmodule.

@vbarua
Copy link
Member Author

vbarua commented Jul 5, 2024

Still not sure why editorconfig started checking these files only now. In any case:

  • Added an explicit config to use tabs for .gitmodule
  • Updated SubstraitType.g4 to use only spaces, instead of a mix of tabs and spaces.

@vbarua vbarua merged commit a179dab into main Jul 5, 2024
12 checks passed
@vbarua vbarua deleted the vbarua/pin-editor-config-version branch July 5, 2024 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants