mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-03 05:03:46 +00:00
Enable workspace lint configuration in remaining crates (#4329)
## Summary We didn't have Clippy enabled (to match our workspace settings) in a few crates.
This commit is contained in:
parent
b8c0391667
commit
c996e8e3f3
28 changed files with 249 additions and 204 deletions
|
|
@ -189,7 +189,7 @@ impl std::fmt::Display for DisplayResolutionGraph<'_> {
|
|||
let deps = edges
|
||||
.iter()
|
||||
.map(|dependency| format!("{}", dependency.name()))
|
||||
.chain(source.iter().map(std::string::ToString::to_string))
|
||||
.chain(source.iter().map(ToString::to_string))
|
||||
.collect::<Vec<_>>()
|
||||
.join(", ");
|
||||
let comment = format!("# via {deps}").green().to_string();
|
||||
|
|
@ -214,7 +214,7 @@ impl std::fmt::Display for DisplayResolutionGraph<'_> {
|
|||
let separator = "\n";
|
||||
let deps = source
|
||||
.iter()
|
||||
.map(std::string::ToString::to_string)
|
||||
.map(ToString::to_string)
|
||||
.chain(
|
||||
edges
|
||||
.iter()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue