-
Notifications
You must be signed in to change notification settings - Fork 127
Fix clippy warnings #851
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
Fix clippy warnings #851
Conversation
…that get the newest clippy warnings
…manually from most builds
haerdib
left a comment
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 very much for the effort! It looks good, apart from one question
.github/workflows/ci.yml
Outdated
| cargo clippy -p substrate-api-client -- -D warnings, | ||
| cargo clippy -p substrate-api-client --no-default-features -- -D warnings, | ||
| cargo clippy -p substrate-api-client --all-features --examples -- -D warnings, | ||
| cargo clippy --workspace --exclude ac-keystore --exclude test-no-std -- -D warnings, |
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.
Is the exclude ac-keystore still necessary?
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.
Yeah, you are right. I removed it
haerdib
left a comment
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.
👍
Run and build the complete workspace. Also update the toolchain such that I get the newest clippy warnings
sync-apifeature being active and then clippy does not manage to compile the featureskeystoreafter all. I could not manage to tell clippy to ignore the crate in all cases.