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
All checks were successful
continuous-integration/drone/pr Build is passing
7cfea920c8
add signature
trinity-1686a added 1 commit 2021-05-02 21:13:17 +00:00
All checks were successful
continuous-integration/drone/pr Build is passing
ce8bf7b900
rename types to CamelCase
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
All checks were successful
continuous-integration/drone/pr Build is passing
Required
Details

Pull request closed

Sign in to join this conversation.
No description provided.