Skip to content

Commit

Permalink
Fix preamble configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
tgolsson committed Oct 17, 2023
1 parent 2ed2e2f commit c5500a9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions build-support/preambles/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@
#![deny(warnings)]
// Enable all clippy lints except for many of the pedantic ones. It's a shame this needs to be copied and pasted across crates, but there doesn't appear to be a way to include inner attributes from a common source.
#![deny(
clippy::all,
clippy::default_trait_access,
clippy::expl_impl_clone_on_copy,
clippy::if_not_else,
clippy::needless_continue,
clippy::unseparated_literal_suffix,
clippy::used_underscore_binding
clippy::all,
clippy::default_trait_access,
clippy::expl_impl_clone_on_copy,
clippy::if_not_else,
clippy::needless_continue,
clippy::unseparated_literal_suffix,
clippy::used_underscore_binding
)]
// It is often more clear to show that nothing is being moved.
#![allow(clippy::match_ref_pats)]
// Subjective style.
#![allow(
clippy::len_without_is_empty,
clippy::redundant_field_names,
clippy::too_many_arguments
clippy::len_without_is_empty,
clippy::redundant_field_names,
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
Expand Down

0 comments on commit c5500a9

Please sign in to comment.