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

Make clippy happy #11867

Closed

Conversation

Rustin170506
Copy link
Member

Follow up #11828

r? @weihanglo

Signed-off-by: hi-rustin <rustin.liu@gmail.com>
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 18, 2023
@weihanglo
Copy link
Member

Sorry I am confused. Did it complain? I thought tests were excluded from clippy check in CI.

@Rustin170506
Copy link
Member Author

Rustin170506 commented Mar 18, 2023

Sorry I am confused. Did it complain? I thought tests were excluded from clippy check in CI.

Yes. It only complains when I run it locally. Run cargo clippy --all --all-targets.

Copy link
Member

@weihanglo weihanglo left a comment

Choose a reason for hiding this comment

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

I see. We have yet enable clippy for all cargo targets. There is a plan to clippyy all crates in this repository after it becomes a workspace (#11851).

Besides, I feel like we should allow std::env throughout the whole integration test. What do people think?

@Rustin170506
Copy link
Member Author

Besides, I feel like we should allow std::env throughout the whole integration test. What do people think?

Yes, I agree. It makes sense to ignore it in tests.

@Rustin170506
Copy link
Member Author

Closed by #11851

@epage epage mentioned this pull request Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants