chore: add cargo fmt to the CI to ensure it is always checked#66
chore: add cargo fmt to the CI to ensure it is always checked#66szabgab wants to merge 1 commit into
Conversation
Also add the rustfmt component to the ci
|
Sorry, I don't want to reject PRs due to rustfmt. It's unpleasant to get a build fail, PR blocked, and waste time manually push a fix for a nitpicky triviality that could be fixed anytime later. rustfmt is IMO an architecturally flawed tool. It can make diffs larger (deletion of a single line can reformat a whole block), which makes reviewing harder. It makes a ton of poor choices due to having context-free formatting and no common sense, e.g. it won't keep all
|
|
I hear you. So do you run |
|
Yes, I occasionally run |
Also add the rustfmt component to the ci