Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tidy up linting #95

Merged
merged 11 commits into from
Aug 14, 2024
Merged

Tidy up linting #95

merged 11 commits into from
Aug 14, 2024

Conversation

thomasaarholt
Copy link
Collaborator

@thomasaarholt thomasaarholt commented Aug 14, 2024

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.

@thomasaarholt thomasaarholt merged commit ec9caf9 into main Aug 14, 2024
3 checks passed
@thomasaarholt thomasaarholt deleted the thomasaarholt/linting branch August 14, 2024 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant