-
Notifications
You must be signed in to change notification settings - Fork 196
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
Run cargo clippy
when building the Pokémon Service
#1742
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking this up! Just a small comment.
@@ -7,4 +7,6 @@ set -eux | |||
cd smithy-rs/rust-runtime/aws-smithy-http-server/examples | |||
|
|||
make | |||
cargo test | |||
make clippy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should suffice to just have:
make test clippy
in both Makefile
s.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So you want me to edit the Makefile
s? Or you mean in the check-server-(python-)e2e-test
files to just condense what I have into make test clippy
(I am assuming the latter, just want to make sure).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Motivation and Context
This is meant to fix this open issue: #1727
Description
cargo clippy
as part of it's build' -- this happens both for the Rust and Python examples.Testing
I wasn't exactly able to find what tests were relevant, other than just just running
ci-action check-server-e2e-test
andci-action check-server-python-e2e-test
-- Both of which reflected the addition of `cargo clippy'For good measure, I ran all other tests.
Checklist
CHANGELOG.next.toml
if I made changes to the smithy-rs codegen or runtime cratesCHANGELOG.next.toml
if I made changes to the AWS SDK, generated SDK code, or SDK runtime cratesBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.