Skip to content

Removed clippy.toml #275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion clippy.toml

This file was deleted.

1 change: 1 addition & 0 deletions src/addresses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ pub trait AddressGenerator {
/// assert_ne!(addr12, addr22);
/// assert_ne!(addr21, addr22);
/// ```
#[allow(clippy::too_many_arguments)]
fn predictable_contract_address(
&self,
api: &dyn Api,
Expand Down
1 change: 1 addition & 0 deletions src/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ where
/// This is a helper function around [execute][Self::execute] function
/// with `WasmMsg::Instantiate2` message.
#[cfg(feature = "cosmwasm_1_2")]
#[allow(clippy::too_many_arguments)]
fn instantiate2_contract<M, L, A, S>(
&mut self,
code_id: u64,
Expand Down
1 change: 1 addition & 0 deletions src/staking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ impl StakeKeeper {
)
}

#[allow(clippy::too_many_arguments)]
fn update_stake(
&self,
api: &dyn Api,
Expand Down
1 change: 1 addition & 0 deletions src/stargate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ use serde::de::DeserializeOwned;
/// and `Stargate`/`Grpc` queries.
pub trait Stargate {
/// Processes `CosmosMsg::Stargate` message variant.
#[allow(clippy::too_many_arguments)]
fn execute_stargate<ExecC, QueryC>(
&self,
_api: &dyn Api,
Expand Down
7 changes: 7 additions & 0 deletions src/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ where
data.into()
}

#[allow(clippy::too_many_arguments)]
fn send<T>(
&self,
api: &dyn Api,
Expand Down Expand Up @@ -770,6 +771,7 @@ where
}

/// Processes WasmMsg::Instantiate and WasmMsg::Instantiate2 messages.
#[allow(clippy::too_many_arguments)]
fn process_wasm_msg_instantiate(
&self,
api: &dyn Api,
Expand Down Expand Up @@ -990,6 +992,7 @@ where
(app_response, messages)
}

#[allow(clippy::too_many_arguments)]
fn process_response(
&self,
api: &dyn Api,
Expand Down Expand Up @@ -1033,6 +1036,7 @@ where
///
/// You have to call init after this to set up the contract properly.
/// These two steps are separated to have cleaner return values.
#[allow(clippy::too_many_arguments)]
pub fn register_contract(
&self,
api: &dyn Api,
Expand Down Expand Up @@ -1088,6 +1092,7 @@ where
}

/// Executes contract's `execute` entry-point.
#[allow(clippy::too_many_arguments)]
pub fn call_execute(
&self,
api: &dyn Api,
Expand All @@ -1109,6 +1114,7 @@ where
}

/// Executes contract's `instantiate` entry-point.
#[allow(clippy::too_many_arguments)]
pub fn call_instantiate(
&self,
address: Addr,
Expand Down Expand Up @@ -1192,6 +1198,7 @@ where

/// Executes contract's `migrate` entry-point.
#[cfg(feature = "cosmwasm_2_2")]
#[allow(clippy::too_many_arguments)]
pub fn call_migrate(
&self,
address: Addr,
Expand Down