1diff --git a/xsdata/codegen/writer.py b/xsdata/codegen/writer.py 2index 0301631f..3185c526 100644 3--- a/xsdata/codegen/writer.py 4+++ b/xsdata/codegen/writer.py 5@@ -73,7 +73,7 @@ class CodeWriter: 6 """Run ruff format on the src code.""" 7 commands = [ 8 [ 9- "ruff", 10+ "@ruff@", 11 "format", 12 "--stdin-filename", 13 str(file_path),