mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 02:48:17 +00:00
Remove trailing period from user-facing messages (#5218)
## Summary Per #5209, we only show periods in messages when the message itself spans more than a single sentence.
This commit is contained in:
parent
f2e2825d1b
commit
ed9b820815
55 changed files with 377 additions and 379 deletions
|
@ -898,7 +898,7 @@ fn warn_on_unsupported_python(interpreter: &Interpreter) {
|
|||
// Warn on usage with an unsupported Python version
|
||||
if interpreter.python_tuple() < (3, 8) {
|
||||
warn_user_once!(
|
||||
"uv is only compatible with Python 3.8+, found Python {}.",
|
||||
"uv is only compatible with Python >=3.8, found Python {}",
|
||||
interpreter.python_version()
|
||||
);
|
||||
}
|
||||
|
|
|
@ -24,9 +24,9 @@ pub enum Error {
|
|||
stdout: String,
|
||||
stderr: String,
|
||||
},
|
||||
#[error("Failed to run `py --list-paths` to find Python installations.")]
|
||||
#[error("Failed to run `py --list-paths` to find Python installations")]
|
||||
Io(#[source] io::Error),
|
||||
#[error("The `py` launcher could not be found.")]
|
||||
#[error("The `py` launcher could not be found")]
|
||||
NotFound,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue