I've removed any old linting tools that have been replaced by ruff, and re-enabled the nox/CI linter.
I decided to add the UP rule to ruff, which makes everything target the latest minimum-python version syntax. Ruff tries to add X | Y union syntax, but pydantic disagrees with that, so I've tagged all pydantic/patito model fields with # noqa: UP007 to prevent the update on those fields.
I've removed any old linting tools that have been replaced by ruff, and re-enabled the nox/CI linter. I decided to add the UP rule to ruff, which makes everything target the latest minimum-python version syntax. Ruff tries to add
X | Y
union syntax, but pydantic disagrees with that, so I've tagged all pydantic/patito model fields with# noqa: UP007
to prevent the update on those fields.