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

replace flake8 with ruff #756

Merged
merged 2 commits into from
Aug 20, 2024
Merged

Conversation

dulmandakh
Copy link
Contributor

This PR replaces flake8 with ruff, a very fast linter and code formatter. Perhaps we need to use code formatter?

@claudep
Copy link
Contributor

claudep commented Aug 19, 2024

Looks OK to me (if you fix the pre-commit failure).

I personally don't appreciate code formatters, but as this is a community-maintained package, if a majority of active contributors wants it, then it could be done.

@dulmandakh
Copy link
Contributor Author

This PR just replaces flake8 with ruff, no code formatting yet. Ruff is fast and supports many rules.

@claudep
Copy link
Contributor

claudep commented Aug 20, 2024

Sure, but as you can see, there is a test failure currently.

Copy link
Contributor

@claudep claudep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the pre-commit now passes (and the test failures seem unrelated), it looks fine to me.

@claudep claudep merged commit 1a06c20 into jazzband:master Aug 20, 2024
6 of 32 checks passed
@dulmandakh dulmandakh deleted the replace-flake8-ruff branch August 20, 2024 09:54
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.

2 participants