Mergeruff.toml into pyproject.toml (#37741)

add a pyproject.toml config file that includes the settings for ruff

---------

Signed-off-by: Jerens Lensun <jerensslensun@gmail.com>
This commit is contained in:
Jerens Lensun 2025-07-04 20:21:48 +08:00 committed by GitHub
parent b9347bf302
commit 5eb7c397fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 6 additions and 7 deletions

View file

@ -87,7 +87,7 @@ impl phf_shared::PhfHash for Bytes<'_> {
/// Note: This function should be kept in sync with the version in `components/script/build.rs`
fn find_python() -> Command {
let mut command = Command::new("uv");
command.args(["run", "python"]);
command.args(["run", "--no-project", "python"]);
if command.output().is_ok_and(|out| out.status.success()) {
return command;