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:
Charlie Marsh 2024-07-19 10:43:49 -04:00 committed by GitHub
parent f2e2825d1b
commit ed9b820815
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
55 changed files with 377 additions and 379 deletions

View file

@ -93,7 +93,7 @@ pub(crate) fn lower_requirement(
};
if preview.is_disabled() {
warn_user_once!("`uv.sources` is experimental and may change without warning.");
warn_user_once!("`uv.sources` is experimental and may change without warning");
}
let source = match source {

View file

@ -26,7 +26,7 @@ pub enum Error {
MalformedDependencies,
#[error("Sources in `pyproject.toml` are malformed")]
MalformedSources,
#[error("Cannot perform ambiguous update; multiple entries with matching package names.")]
#[error("Cannot perform ambiguous update; found multiple entries with matching package names")]
Ambiguous,
}