Skip to content

Commit

Permalink
Merge pull request #450 from kageiit/disable_clippy_on_gen
Browse files Browse the repository at this point in the history
[Clippy] Disable clippy warnings on generated schema file
  • Loading branch information
Brendonovich authored Dec 13, 2024
2 parents 11ccf18 + aec2cfd commit 6ee1d16
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/sdk/src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ impl GeneratorMetadata {

remove_dir_all(root_output_path).ok();

let header = format!("// File generated by {}. DO NOT EDIT\n\n", self.name);
let header = format!(
"// File generated by {}. DO NOT EDIT\n#![allow(warnings, unused, clippy::all)]\n\n",
self.name
);

match shared_config.client_format {
ClientFormat::Folder => {
Expand Down

0 comments on commit 6ee1d16

Please sign in to comment.