-
Notifications
You must be signed in to change notification settings - Fork 13
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
chore: setup ruff #252
base: poetry
Are you sure you want to change the base?
chore: setup ruff #252
Conversation
Reviewer's Guide by SourceryThis pull request migrates the project from No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Assessment against linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
@sourcery-ai summary |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @JaeAeich - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider using
poetry
to manage dependencies instead ofrequirements.txt
andsetup.py
. - Consider using
black
orruff format
to automatically format the code.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
# [tool.ruff.lint] | ||
# select = [ | ||
# "B", # flake8-bugbear | ||
# "C90", # mccabe | ||
# "D", # pydocstyle | ||
# "E", # pycodestyle | ||
# "F", # Pyflakes | ||
# "I", # isort | ||
# "PL", # pylint | ||
# "SIM", # flake8-simplify | ||
# "UP", # pyupgrade | ||
# ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note the huge fle changes when I have commented all the extra rules that we use or try to make standard.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also yes most changes currently are quotation change, but even if I disable the quatation change rule, we would still have similar number of file changes.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #237
Fixes #238
Fixes #239
Summary by Sourcery
Chores: