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

clippy: allow all clippy for mod google in storage-bigtable #2543

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

yihau
Copy link
Member

@yihau yihau commented Aug 11, 2024

(part of #2487)

Problem

the files in storage-bigtable/proto/*.rs are generated by https://github.com/anza-xyz/agave/blob/master/storage-bigtable/build-proto/build.sh (#2497 (comment))

we should ignore clippy checks for those files otherwise we will need to make the same modifications during the next round generation if the upstream doesn't fix the clippy issue.

Summary of Changes

allow all for mod google

@yihau yihau changed the title clippy: allow all for mod google in storage-bigtable clippy: allow all clippy for mod google in storage-bigtable Aug 11, 2024
@yihau yihau marked this pull request as ready for review August 11, 2024 18:50
Copy link

@steviez steviez left a comment

Choose a reason for hiding this comment

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

I think I'm good with ignoring everything from clippy if the intent is to use the auto-generated code as-is. We could potentially enumerate out the individual lints we're ignoring, but again, if we don't intend to do anything about them, then I'm not sure I see much value in the extra work.

Giving this a ship it but wouldn't mind hearing @CriesofCarrots thoughts too

Copy link

@CriesofCarrots CriesofCarrots left a comment

Choose a reason for hiding this comment

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

Love it. I don't think it should be incumbent on us to track which lints tonic is up to date with.

@yihau yihau merged commit 41dc227 into anza-xyz:master Aug 13, 2024
41 checks passed
@yihau yihau deleted the allow-all-clippy-for-google-mod branch August 13, 2024 03:28
ray-kast pushed a commit to abklabs/agave that referenced this pull request Nov 27, 2024
…#2543)

clippy: allow all for mod google in storage-bigtable
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.

3 participants