Run clippy on the whole project #58

Closed
trinity-1686a wants to merge 9 commits from trinity-1686a:clippy into main

Clippy is a linter widelly used. This PR aims at making it not warn on Garage code, and add it as part of CI

Clippy is a linter widelly used. This PR aims at making it not warn on Garage code, and add it as part of CI
trinity-1686a reviewed 2021-04-23 21:01:59 +00:00
@ -424,7 +424,6 @@ impl System {
warn!("Node {:?} seems to be down.", id);
if !ring.config.members.contains_key(id) {
info!("Removing node {:?} from status (not in config and not responding to pings anymore)", id);
drop(st);
Author
Owner

this line was triggering this lint, I'm not sure what the code was supposed to do, but it probably wasn't doing what expected

this line was triggering [this lint](https://rust-lang.github.io/rust-clippy/stable/index.html#drop_ref), I'm not sure what the code was supposed to do, but it probably wasn't doing what expected
trinity-1686a force-pushed clippy from 79587cf970 to 0df7846933 2021-05-02 19:35:46 +00:00 Compare
trinity-1686a force-pushed clippy from 0df7846933 to af854ecb15 2021-05-02 19:43:15 +00:00 Compare
trinity-1686a added 1 commit 2021-05-02 20:26:39 +00:00
add signature
All checks were successful
continuous-integration/drone/pr Build is passing
7cfea920c8
trinity-1686a added 1 commit 2021-05-02 21:13:17 +00:00
rename types to CamelCase
All checks were successful
continuous-integration/drone/pr Build is passing
ce8bf7b900
Owner

Superseded by #73, I am taking control of this @trinity-1686a to solve conflicts that keep appearing

Superseded by #73, I am taking control of this @trinity-1686a to solve conflicts that keep appearing
lx closed this pull request 2021-05-03 20:18:44 +00:00
trinity-1686a deleted branch clippy 2021-05-05 19:30:34 +00:00
Some checks are pending
continuous-integration/drone/pr Build is passing
ci/woodpecker/pr/debug
Required

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#58
No description provided.