Skip to content

Commit

Permalink
chore(test): make linter more nastier 😈
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeneux committed Feb 9, 2023
1 parent 2343ec8 commit 78f9152
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
12 changes: 12 additions & 0 deletions contracts/cw-logic-sample/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
#![forbid(unsafe_code)]
#![deny(
warnings,
rust_2018_idioms,
trivial_casts,
trivial_numeric_casts,
unused_lifetimes,
unused_import_braces,
unused_qualifications,
unused_qualifications
)]

pub mod contract;
mod error;
pub mod msg;
Expand Down
12 changes: 12 additions & 0 deletions contracts/cw-template/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
#![forbid(unsafe_code)]
#![deny(
warnings,
rust_2018_idioms,
trivial_casts,
trivial_numeric_casts,
unused_lifetimes,
unused_import_braces,
unused_qualifications,
unused_qualifications
)]

pub mod contract;
mod error;
pub mod helpers;
Expand Down
12 changes: 12 additions & 0 deletions packages/logic-bindings/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
#![forbid(unsafe_code)]
#![deny(
warnings,
rust_2018_idioms,
trivial_casts,
trivial_numeric_casts,
unused_lifetimes,
unused_import_braces,
unused_qualifications,
unused_qualifications
)]

mod query;

pub use query::{Answer, AskResponse, LogicCustomQuery, Result, Substitution, Term};
Expand Down

0 comments on commit 78f9152

Please sign in to comment.