forked from commune-ai/subspace
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refac: run clippy for entire codebase
This PR runs clippy and formatter to the entire PR. Also updates the GH action to ensure it is formatted.
- Loading branch information
1 parent
23b2690
commit fc09bdc
Showing
40 changed files
with
2,786 additions
and
3,092 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[target.'cfg(all())'] | ||
# Enable global lints | ||
rustflags = [ | ||
# TODO: remove once we refactor the code | ||
"-Aclippy::too_many_arguments", | ||
"-Aclippy::type_complexity", | ||
] | ||
|
||
[registries.crates-io] | ||
protocol = "sparse" | ||
|
||
[build] | ||
rustflags = ["-Z", "threads=8"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.