Skip to content
New issue

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

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

Already on GitHub? # to your account

Add ruff linter #83

Merged
merged 3 commits into from
Dec 31, 2023
Merged

Add ruff linter #83

merged 3 commits into from
Dec 31, 2023

Conversation

luca-medeiros
Copy link
Contributor

Added ruff linter to pyproject with some basic configs after seeing it on the roadmap. I think we could find the best settings for this project later on.

Also ran ruff format on the current project with auto-fix on.

@luca-medeiros
Copy link
Contributor Author

I could add a pre-commit config as well

@igorbenav igorbenav self-requested a review December 28, 2023 21:59
@igorbenav igorbenav added the enhancement New feature or request label Dec 28, 2023
@igorbenav
Copy link
Owner

Nice one, @luca-medeiros! I'll check if this extra import is necessary in alembic migrations, but I don't think it is since I'm importing Base. No Idea why I created it in the first place

@igorbenav
Copy link
Owner

@luca-medeiros if you'd like to add the pre-commit config, I'd appreciate it a lot

@igorbenav igorbenav merged commit 1085e2d into igorbenav:main Dec 31, 2023
@igorbenav igorbenav mentioned this pull request Feb 7, 2024
15 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants