chore: fix some minor issues in comments (#14807)

<!--
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

 fix some minor issues in comments

<!-- What's the purpose of the change? What does it do, and why? -->

## Test Plan

<!-- How was it tested? -->

Signed-off-by: pingshuijie <pingshuijie@outlook.com>
This commit is contained in:
Ping Shuijie 2025-07-22 18:13:05 +08:00 committed by GitHub
parent ecfa386088
commit c1bf934721
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@ impl EphemeralEnvironment {
/// 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.

View File

@ -12186,7 +12186,7 @@ requires-python = ">3.8"
fn prerelease_path_requirement() -> Result<()> { fn prerelease_path_requirement() -> Result<()> {
let context = TestContext::new("3.12"); let context = TestContext::new("3.12");
// Create an a package that requires a pre-release version of `flask`. // Create a package that requires a pre-release version of `flask`.
let pyproject_toml = context.temp_dir.child("pyproject.toml"); let pyproject_toml = context.temp_dir.child("pyproject.toml");
pyproject_toml.write_str( pyproject_toml.write_str(
r#"[project] r#"[project]
@ -12240,7 +12240,7 @@ requires-python = ">3.8"
fn prerelease_editable_requirement() -> Result<()> { fn prerelease_editable_requirement() -> Result<()> {
let context = TestContext::new("3.12"); let context = TestContext::new("3.12");
// Create an a package that requires a pre-release version of `flask`.r // Create a package that requires a pre-release version of `flask`.r
let pyproject_toml = context.temp_dir.child("pyproject.toml"); let pyproject_toml = context.temp_dir.child("pyproject.toml");
pyproject_toml.write_str( pyproject_toml.write_str(
r#"[project] r#"[project]

View File

@ -1993,7 +1993,7 @@ fn version_set_workspace() -> Result<()> {
); );
}); });
// Set the other child's version, refereshing the lock and sync // Set the other child's version, refreshing the lock and sync
let mut version_cmd = context.version(); let mut version_cmd = context.version();
version_cmd version_cmd
.arg("--package") .arg("--package")