From 42fcc81b3dc523fb9d44eeb865b48a7599177cec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=86=E9=95=BF=E9=80=AF?= Date: Thu, 10 Jul 2025 21:25:38 +0800 Subject: [PATCH] chore: remove redundant words in comment (#14532) ## Summary remove redundant words in comment ## Test Plan Signed-off-by: jingchanglu --- crates/uv-workspace/src/dependency_groups.rs | 2 +- crates/uv/src/commands/project/environment.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/uv-workspace/src/dependency_groups.rs b/crates/uv-workspace/src/dependency_groups.rs index 8503ae3ad..2dc2090bf 100644 --- a/crates/uv-workspace/src/dependency_groups.rs +++ b/crates/uv-workspace/src/dependency_groups.rs @@ -148,7 +148,7 @@ impl FlatDependencyGroups { if let Some(included) = resolved.get(include_group) { requirements.extend(included.requirements.iter().cloned()); - // Intersect the requires-python for this group with the the included group's + // Intersect the requires-python for this group with the included group's requires_python_intersection = requires_python_intersection .into_iter() .chain(included.requires_python.clone().into_iter().flatten()) diff --git a/crates/uv/src/commands/project/environment.rs b/crates/uv/src/commands/project/environment.rs index f43587ff0..a3cda28c1 100644 --- a/crates/uv/src/commands/project/environment.rs +++ b/crates/uv/src/commands/project/environment.rs @@ -204,7 +204,7 @@ impl CachedEnvironment { /// environment's `site-packages` directory to Python's import search paths in addition to /// the ephemeral environment's `site-packages` directory. This works well at runtime, but /// is too dynamic for static analysis tools like ty to understand. As such, we - /// additionally write the `sys.prefix` of the parent environment to to the + /// additionally write the `sys.prefix` of the parent environment to the /// `extends-environment` key of the ephemeral environment's `pyvenv.cfg` file, making it /// easier for these tools to statically and reliably understand the relationship between /// the two environments.