-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Fixes Spotless and runs spotless #13040
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
Conversation
zipped files with JSON extension made this task sad
@@ -103,6 +103,7 @@ def createSpotlessTarget = { pattern -> | |||
'secrets', | |||
'charts', // Helm charts often have injected template strings that will fail general linting. Helm linting is done separately. | |||
'resources/seed/*_specs.yaml', // Do not remove - this is necessary to prevent diffs in our github workflows, as the file diff check runs between the Format step and the Build step, the latter of which generates the file. | |||
'airbyte-integrations/connectors/source-amplitude/unit_tests/api_data/zipped.json', // Zipped file presents as non-UTF-8 making spotless sad |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dear reviewer this is the only line that isn't formatting only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great
I wonder why we have such a file though lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah I didn't blame it, I'll ask whomever is the author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems legit
@@ -103,6 +103,7 @@ def createSpotlessTarget = { pattern -> | |||
'secrets', | |||
'charts', // Helm charts often have injected template strings that will fail general linting. Helm linting is done separately. | |||
'resources/seed/*_specs.yaml', // Do not remove - this is necessary to prevent diffs in our github workflows, as the file diff check runs between the Format step and the Build step, the latter of which generates the file. | |||
'airbyte-integrations/connectors/source-amplitude/unit_tests/api_data/zipped.json', // Zipped file presents as non-UTF-8 making spotless sad |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great
I wonder why we have such a file though lol
We have some failing tests for connectors. I think these failures were pre-existing but I'm going to hold off committing to master until I've looked a little harder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Painful. Thanks for cleaning this up.
zipped files with JSON extension made this task sad
zipped files with JSON extension made this task sad
zipped files with JSON extension made this task sad
What
./gradlew build
failed for me on:spotless
How
there was a zip file with a .json extension. we ignore that file now
also ran spotless
this is the one line change fixing spotless the rest is formatting only