Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(bindings/python): generate python operator constructor types #5457

Merged
merged 15 commits into from
Dec 27, 2024
10 changes: 5 additions & 5 deletions dev/src/generate/binding_python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ pub fn generate(project_root: PathBuf, services: &Services) -> Result<()> {

fs::write(output_file.clone(), t).expect("failed to write result to file");

Command::new("ruff")
.arg("format")
.arg(output_file)
.output()
.expect("failed to run ruff");
let ruff = Command::new("ruff").arg("format").arg(output_file).output();
trim21 marked this conversation as resolved.
Show resolved Hide resolved

if let Err(err) = ruff {
println!("failed to format generate code with ruff: {}", err);
}

Ok(())
}
Expand Down
Loading