xsdata icon indicating copy to clipboard operation
xsdata copied to clipboard

Use ruff to lint generated code

Open tefra opened this issue 2 years ago • 0 comments

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

tefra avatar Dec 26 '23 07:12 tefra