-
Notifications
You must be signed in to change notification settings - Fork 24
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
Introduce Ruff #234
Introduce Ruff #234
Conversation
Please sign your commits. |
Yea, I'm currently installing my gpg key again. Will sign them after lunch. |
exclude = ["tests/*"] | ||
packages = [ | ||
{ include = "roombapy" }, | ||
] |
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.
Does this effectively exclude tests still?
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 so, I checked my own libraries and they never exclude tests but they have this, so I'm assuming this does it implicitly
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.
Overall LGTM, having one tool to rule them all is really convenient.
Introduce Ruff
Commits are now signed |
Introducing ruff, a rust based linter and formatter that neatly fits in with the current libs.
Currently I ignored a lot of rules. In follow up PRs I will chip away on these rules, making clearer what rules does what :)