mirror of https://github.com/astral-sh/uv
chore: remove redundant words in comment (#14532)
<!-- Thank you for contributing to uv! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary remove redundant words in comment <!-- What's the purpose of the change? What does it do, and why? --> ## Test Plan <!-- How was it tested? --> Signed-off-by: jingchanglu <jingchanglu@outlook.com>
This commit is contained in:
parent
573b991398
commit
42fcc81b3d
|
|
@ -148,7 +148,7 @@ impl FlatDependencyGroups {
|
||||||
if let Some(included) = resolved.get(include_group) {
|
if let Some(included) = resolved.get(include_group) {
|
||||||
requirements.extend(included.requirements.iter().cloned());
|
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
|
requires_python_intersection = requires_python_intersection
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.chain(included.requires_python.clone().into_iter().flatten())
|
.chain(included.requires_python.clone().into_iter().flatten())
|
||||||
|
|
|
||||||
|
|
@ -204,7 +204,7 @@ impl CachedEnvironment {
|
||||||
/// environment's `site-packages` directory to Python's import search paths in addition to
|
/// 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
|
/// 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
|
/// 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
|
/// `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
|
/// easier for these tools to statically and reliably understand the relationship between
|
||||||
/// the two environments.
|
/// the two environments.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue