about summary refs log tree commit diff
path: root/pkgs/development/python-modules/xsdata/paths.patch
blob: 162936d4df1a1d898f3cdbe24cff33f2f2ba0e46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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),