Skip to content
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

Merged
merged 1 commit into from
Feb 21, 2024
Merged

Introduce Ruff #234

merged 1 commit into from
Feb 21, 2024

Conversation

joostlek
Copy link

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 :)

@pschmitt
Copy link
Owner

Please sign your commits.

.github/workflows/ci.yaml Outdated Show resolved Hide resolved
@joostlek
Copy link
Author

Yea, I'm currently installing my gpg key again. Will sign them after lunch.

Comment on lines -15 to +17
exclude = ["tests/*"]
packages = [
{ include = "roombapy" },
]
Copy link
Owner

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?

Copy link
Author

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

Copy link
Collaborator

@Orhideous Orhideous left a 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
@joostlek
Copy link
Author

Commits are now signed

@Orhideous Orhideous merged commit a34a808 into pschmitt:main Feb 21, 2024
8 checks passed
@joostlek joostlek deleted the ruff branch February 21, 2024 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants