depot/third_party/nixpkgs/pkgs/development/python-modules/xsdata/paths.patch
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

21 lines
730 B
Diff

diff --git a/xsdata/formats/dataclass/generator.py b/xsdata/formats/dataclass/generator.py
index 1c155836..43506818 100644
--- a/xsdata/formats/dataclass/generator.py
+++ b/xsdata/formats/dataclass/generator.py
@@ -240,14 +240,14 @@ class DataclassGenerator(AbstractGenerator):
"""
commands = [
[
- "ruff",
+ "@ruff@",
"format",
"--line-length",
str(self.config.output.max_line_length),
*file_paths,
],
[
- "ruff",
+ "@ruff@",
"check",
"--line-length",
str(self.config.output.max_line_length),