xsdata
xsdata copied to clipboard
Use ruff to lint generated code
We started using ruff to format the output code.
I wanted to also use ruff for linting as this would allow me replace the union types/ subscriptable types, the imports sorting and many more things with a simple target-version config.
There are a few things that are blocking us https://github.com/astral-sh/ruff/issues/4843 https://github.com/astral-sh/ruff/issues/6936