-
Notifications
You must be signed in to change notification settings - Fork 204
add ruff #290
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: master
Are you sure you want to change the base?
add ruff #290
Conversation
|
closes #287 |
|
The configuration defines defaults explicitly. Format rules are configured to work with google docstring format (has no formal spec, is de-facto standard). Single quotes are migrated to double-quotes (cause de-facto standard.) |
|
@fkromer Thank you for the requested changes, A couple of comments on your pull request:
|
|
@colesmj Thanks for the review.
I'll comment in the PR for more fine-grained further explanation. |
| logger-objects = [] | ||
| per-file-ignores = {} | ||
| preview = false | ||
| select = ["E4", "E7", "E9", "F"] |
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.
ruff rule set can be extended here. E.g. to add pylint rules refer to here.
|
Relates to #294 |
I‘ve referenced some further examples w.r.t. docstring formats in #294 . Personally I’m totally fine with every alternative. |
No description provided.