depot/third_party/nixpkgs/pkgs/development/python-modules/xsdata/paths.patch
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

13 lines
429 B
Diff

diff --git a/xsdata/codegen/writer.py b/xsdata/codegen/writer.py
index 0301631f..3185c526 100644
--- a/xsdata/codegen/writer.py
+++ b/xsdata/codegen/writer.py
@@ -73,7 +73,7 @@ class CodeWriter:
"""Run ruff format on the src code."""
commands = [
[
- "ruff",
+ "@ruff@",
"format",
"--stdin-filename",
str(file_path),