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

support clippy aspect in unit tests as well #546

Merged
merged 2 commits into from
Jan 14, 2021

Conversation

dae
Copy link
Contributor

@dae dae commented Dec 30, 2020

Unit tests with a 'crate = ...' argument have no rust_srcs, so
clippy was not running for them.

@google-cla google-cla bot added the cla: yes label Dec 30, 2020
@UebelAndre
Copy link
Collaborator

Any update here? This seems like a good change

Copy link
Collaborator

@dfreese dfreese left a comment

Choose a reason for hiding this comment

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

LGTM, just needs to be updated to the latest master commit.

I would do that, but I don't have permission on the branch.

Unit tests with a 'crate = ...' argument have no rust_srcs, so
clippy was not running for them.
@dae
Copy link
Contributor Author

dae commented Jan 14, 2021

Rebased on master

@smklein smklein merged commit d8316c9 into bazelbuild:master Jan 14, 2021
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

4 participants