mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 09:04:16 +01:00
Diff: https://github.com/tefra/xsdata/compare/v25.7...v26.1 Changelog: https://github.com/tefra/xsdata/blob/v26.1/CHANGES.md
22 lines
791 B
Diff
22 lines
791 B
Diff
diff --git a/xsdata/formats/dataclass/generator.py b/xsdata/formats/dataclass/generator.py
|
|
index b9f1b0e9..c1ed4c72 100644
|
|
--- a/xsdata/formats/dataclass/generator.py
|
|
+++ b/xsdata/formats/dataclass/generator.py
|
|
@@ -240,7 +240,7 @@ class DataclassGenerator(AbstractGenerator):
|
|
ruff_config = Path(__file__).parent.joinpath("ruff.toml")
|
|
commands = [
|
|
[
|
|
- "ruff",
|
|
+ "@ruff@",
|
|
"check",
|
|
"--config",
|
|
str(ruff_config),
|
|
@@ -252,7 +252,7 @@ class DataclassGenerator(AbstractGenerator):
|
|
*file_paths,
|
|
],
|
|
[
|
|
- "ruff",
|
|
+ "@ruff@",
|
|
"format",
|
|
"--config",
|
|
str(ruff_config),
|