JakobGM / patito

A data modelling layer built on top of polars and pydantic
MIT License
272 stars 23 forks source link

Tidy up linting #95

Closed thomasaarholt closed 1 month ago

thomasaarholt commented 1 month ago

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.