Skip to content

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

Merged
merged 1 commit into from
May 20, 2022
Merged

Conversation

supertopher
Copy link
Contributor

@supertopher supertopher commented May 19, 2022

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

zipped files with JSON extension made this task sad
@supertopher supertopher requested a review from git-phu May 19, 2022 20:21
@github-actions github-actions bot added the area/connectors Connector related issues label May 19, 2022
@supertopher supertopher requested a review from a team May 19, 2022 20:21
@supertopher supertopher temporarily deployed to more-secrets May 19, 2022 20:22 Inactive
@@ -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
Copy link
Contributor Author

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

Copy link
Contributor

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

Copy link
Contributor Author

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

Copy link
Contributor

@git-phu git-phu left a 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
Copy link
Contributor

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

@supertopher
Copy link
Contributor Author

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

@supertopher supertopher requested a review from davinchia May 19, 2022 20:52
Copy link
Contributor

@davinchia davinchia left a 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.

@supertopher supertopher merged commit 013a886 into master May 20, 2022
@supertopher supertopher deleted the topher_formats_other_peoples_code branch May 20, 2022 12:26
ganpatagarwal pushed a commit to ganpatagarwal/airbyte that referenced this pull request May 20, 2022
zipped files with JSON extension made this task sad
suhomud pushed a commit that referenced this pull request May 23, 2022
zipped files with JSON extension made this task sad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants