-
Notifications
You must be signed in to change notification settings - Fork 33
Maintainability upgrades and fixes #399
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
base: develop
Are you sure you want to change the base?
Maintainability upgrades and fixes #399
Conversation
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.
took a look through, though I found it hard to read through all the formatting. Glancing through commits, seemed like there wasn't much in code changes, more in deps and CI?
Have a couple comments
.github/workflows/python-app.yml
Outdated
- name: Lint with ruff | ||
run: | | ||
pylint packet/routes packet | ||
ruff check packet |
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.
Looking at the ruff FAQ, seems like they're more confident in how well it can replace pylint than a few years ago, but it also discuss that they can be complimentary. Would it make sense to use ruff locally for anyone using it for commit hooks, and pylint in CI for completeness
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.
It wouldn't hurt, I just wanted to avoid any complications 2 linting systems could possibly bring.
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.
I think they can be tuned to work pretty well together, the pylint project uses both
120 line length Single quotes
Someone will need to double check this LOL