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

Ci improve clippy (rebased) #1465

Merged
merged 13 commits into from
Jun 7, 2021
Merged

Ci improve clippy (rebased) #1465

merged 13 commits into from
Jun 7, 2021

Conversation

cryptonemo
Copy link
Collaborator

Intended to replace #1461 and #1464

vmx and others added 10 commits June 2, 2021 12:58
Clippy is run on CI, but even if there are warnings, the CI doesn't
fail. With this commit the CI fails when there are Clippy warnings.
It also runs Clippy on all the code (also tests, benchmarks and
examples) now.
feat: clean-up some clippy warnings
Create a PathBuf for more symmetry within the if/else clause.
@cryptonemo cryptonemo requested a review from vmx June 2, 2021 19:46
@cryptonemo cryptonemo changed the title Ci improve clippy rebased Ci improve clippy (rebased) Jun 2, 2021
@cryptonemo cryptonemo mentioned this pull request Jun 4, 2021
vmx
vmx previously approved these changes Jun 4, 2021
@@ -113,30 +113,38 @@ fn test_verify_simple_pieces() {
// / \ / \
// a b c d

let (a, b, c, d): ([u8; 32], [u8; 32], [u8; 32], [u8; 32]) = rng.gen();
Copy link
Contributor

Choose a reason for hiding this comment

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

I am okay with this, but in general we should just put a clippy allow on this function

dignifiedquire
dignifiedquire previously approved these changes Jun 4, 2021
@cryptonemo cryptonemo dismissed stale reviews from dignifiedquire and vmx via 03a69d4 June 4, 2021 13:55
@cryptonemo cryptonemo merged commit e389893 into master Jun 7, 2021
@vmx vmx deleted the ci-improve-clippy-rebased branch June 10, 2021 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants