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

Added support for noclippy tag #824

Merged
merged 6 commits into from
Jul 10, 2021
Merged

Conversation

UebelAndre
Copy link
Collaborator

This matches the rustfmt pattern of norustfmt and allows users to opt out of running clippy on a particular target.

@google-cla google-cla bot added the cla: yes label Jul 7, 2021
@UebelAndre
Copy link
Collaborator Author

I ended up adding a regression test for this by enabling clippy in a .bazelrc config. This is matches what's being done for rustfmt but this also means the code will need to be clippy compliant. I've opened #827 to address that.

Copy link
Collaborator

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

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

I'm slightly concerned that CI now doesn't test the default config without the extra aspects, and that we may accidentally introduce a dependency on the aspects at some point which shouldn't be there, but as we already have this for rustfmt, if we want to introduce a "no-aspect" CI pipeline that feels like a reasonable separate change for the future.

@UebelAndre UebelAndre mentioned this pull request Jul 10, 2021
@UebelAndre UebelAndre merged commit ed64716 into bazelbuild:main Jul 10, 2021
@UebelAndre UebelAndre deleted the clippy branch July 10, 2021 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants