Skip to content

Add Ruff to pre-commit config for linting and formatting#89

Merged
FlipperPA merged 5 commits intodjango-commons:mainfrom
browniebroke:lint/ruff
Sep 30, 2024
Merged

Add Ruff to pre-commit config for linting and formatting#89
FlipperPA merged 5 commits intodjango-commons:mainfrom
browniebroke:lint/ruff

Conversation

@browniebroke
Copy link
Copy Markdown
Member

And fix pre-existing issues

Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance checks
Do not use bare `except`
@FlipperPA FlipperPA merged commit 037640d into django-commons:main Sep 30, 2024
@browniebroke browniebroke deleted the lint/ruff branch September 30, 2024 14:11
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.

2 participants