Skip to content

Commit

Permalink
Allow clippies for generated Atom
Browse files Browse the repository at this point in the history
  • Loading branch information
turboladen committed Mar 25, 2024
1 parent 8ac6347 commit abaab2c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/api/src/atom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
// DO NOT EDIT THIS FILE!
// This is generated by wise_units-atom_generator.
//-----------------------------------------------------------------------------
#![allow(
clippy::unreadable_literal,
clippy::too_many_lines,
clippy::match_same_arms
)]

mod composable;
mod definition;
Expand Down
2 changes: 2 additions & 0 deletions crates/atom_generator/src/generator/atom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ pub(super) fn generate_file_body(atom_list: &RustAtomList) -> String {
let is_metric_method = atom_list.is_metric_method();

let tokens = quote! {
#![allow(clippy::unreadable_literal, clippy::too_many_lines, clippy::match_same_arms)]

mod composable;
mod display;
mod hash;
Expand Down

0 comments on commit abaab2c

Please sign in to comment.