mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
Remove useless #[allow(clippy::too_many_arguments)]
(#4529)
I went through all `#[allow(clippy::too_many_arguments)]` and removed the useless ones.
This commit is contained in:
parent
a81742c06b
commit
af1f1369e5
7 changed files with 0 additions and 7 deletions
|
@ -513,7 +513,6 @@ fn install_script(
|
|||
}
|
||||
|
||||
/// Move the files from the .data directory to the right location in the venv
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[instrument(skip_all)]
|
||||
pub(crate) fn install_data(
|
||||
layout: &Layout,
|
||||
|
|
|
@ -61,7 +61,6 @@ pub struct LookaheadResolver<'a, Context: BuildContext> {
|
|||
|
||||
impl<'a, Context: BuildContext> LookaheadResolver<'a, Context> {
|
||||
/// Instantiate a new [`LookaheadResolver`] for a given set of requirements.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn new(
|
||||
requirements: &'a [Requirement],
|
||||
constraints: &'a Constraints,
|
||||
|
|
|
@ -59,7 +59,6 @@ impl FlatIndex {
|
|||
Self { index, offline }
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn add_file(
|
||||
distributions: &mut FlatDistributions,
|
||||
file: File,
|
||||
|
|
|
@ -420,7 +420,6 @@ impl VersionMapLazy {
|
|||
simple.dist.get_or_init(get_or_init).as_ref()
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn source_dist_compatibility(
|
||||
&self,
|
||||
version: &Version,
|
||||
|
|
|
@ -11,7 +11,6 @@ use crate::commands::ExitStatus;
|
|||
use crate::printer::Printer;
|
||||
|
||||
/// Find a toolchain.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub(crate) async fn find(
|
||||
request: Option<String>,
|
||||
toolchain_preference: ToolchainPreference,
|
||||
|
|
|
@ -15,7 +15,6 @@ use crate::commands::ExitStatus;
|
|||
use crate::printer::Printer;
|
||||
|
||||
/// Download and install a Python toolchain.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub(crate) async fn install(
|
||||
targets: Vec<String>,
|
||||
force: bool,
|
||||
|
|
|
@ -25,7 +25,6 @@ enum Kind {
|
|||
}
|
||||
|
||||
/// List available toolchains.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub(crate) async fn list(
|
||||
kinds: ToolchainListKinds,
|
||||
all_versions: bool,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue