-
-
Notifications
You must be signed in to change notification settings - Fork 770
Closed
Description
We run clippy as part of CI, with the following flags:
Lines 26 to 43 in 910821a
CLIPPY_ARGS=" | |
-A clippy::complexity | |
-A clippy::pedantic | |
-A clippy::nursery | |
-A clippy::style | |
-A clippy::perf | |
-A clippy::cargo | |
-A clippy::restriction | |
-A clippy::if_same_then_else | |
-D clippy::needless_return | |
-D clippy::unnecessary_mut_passed | |
-D clippy::empty_line_after_outer_attr | |
-D clippy::default_trait_access | |
-D clippy::map_unwrap_or | |
-D clippy::wildcard_imports | |
" |
These flags were chosen when we added clippy to minimize the amount of re-writing of code. However, we should revisit these flags to increase the number of checks clippy is helping us with by improving the source tree incrementally.
Metadata
Metadata
Assignees
Labels
No labels