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.