-
Notifications
You must be signed in to change notification settings - Fork 899
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix colors in
uv tool run
suggestion (#5267)
## Summary More consistent with other commands. Before: ![Screenshot 2024-07-21 at 2 22 18 PM](https://github.com/user-attachments/assets/9f6dfc7d-3c54-47a4-9b9f-bdf3794ae06d) Now: all cyan, and green command, following the style guide.
- Loading branch information
1 parent
5c3d55a
commit a917cdb
Showing
2 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -162,7 +162,7 @@ fn tool_run_at_version() { | |
+ packaging==24.0 | ||
+ pluggy==1.4.0 | ||
+ pytest==8.1.1 | ||
warning: A `[email protected]` executable is not provided by package `pytest`. | ||
warning: An executable named `[email protected]` is not provided by package `pytest`. | ||
"###); | ||
} | ||
|
||
|
@@ -227,7 +227,7 @@ fn tool_run_suggest_valid_commands() { | |
+ packaging==24.0 | ||
+ pathspec==0.12.1 | ||
+ platformdirs==4.2.0 | ||
warning: A `orange` executable is not provided by package `black`. | ||
warning: An executable named `orange` is not provided by package `black`. | ||
"###); | ||
|
||
uv_snapshot!(context.filters(), context.tool_run() | ||
|
@@ -247,7 +247,7 @@ fn tool_run_suggest_valid_commands() { | |
+ fastapi-cli==0.0.1 | ||
+ importlib-metadata==1.7.0 | ||
+ zipp==3.18.1 | ||
warning: A `fastapi-cli` executable is not provided by package `fastapi-cli`. | ||
warning: An executable named `fastapi-cli` is not provided by package `fastapi-cli`. | ||
"###); | ||
} | ||
|
||
|
@@ -312,7 +312,7 @@ fn tool_run_warn_executable_not_in_from() { | |
+ uvicorn==0.29.0 | ||
+ watchfiles==0.21.0 | ||
+ websockets==12.0 | ||
warning: A `fastapi` executable is not provided by package `fastapi` but is available via the dependency `fastapi-cli`. Consider using `uv tool run --from fastapi-cli fastapi` instead. | ||
warning: An executable named `fastapi` is not provided by package `fastapi` but is available via the dependency `fastapi-cli`. Consider using `uv tool run --from fastapi-cli fastapi` instead. | ||
"###); | ||
} | ||
|
||
|