Rename puffin-warnings macros to avoid tracing collision (#694)

Also more consistent with Ruff.
This commit is contained in:
Charlie Marsh 2023-12-18 16:33:21 -05:00 committed by GitHub
parent e98804141c
commit 207bb83a1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -10,7 +10,7 @@ use platform_tags::{TagPriority, Tags};
use puffin_client::SimpleMetadata;
use puffin_interpreter::Interpreter;
use puffin_normalize::PackageName;
use puffin_warnings::warn_once;
use puffin_warnings::warn_user_once;
use pypi_types::Yanked;
use crate::file::{DistFile, SdistFile, WheelFile};
@ -63,7 +63,7 @@ impl VersionMap {
continue;
}
None => {
warn_once!(
warn_user_once!(
"{} is missing an upload date, but user provided: {}",
file.filename,
exclude_newer,