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 and its plugins with ruff #3651

Merged
merged 3 commits into from
May 26, 2023
Merged

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented May 23, 2023

Closes #3650

Ruff supports over 500 lint rules and can be used to replace Flake8 (plus dozens of plugins), isort, pydocstyle, yesqa, eradicate, pyupgrade, and autoflake, all while executing (in Rust) tens or hundreds of times faster than any individual tool.

This PR could have replaced autoflake but it might be better to get used to ruff --fix before throwing that switch.

Copy link
Member

@Zac-HD Zac-HD left a comment

Choose a reason for hiding this comment

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

Thanks again!

@Zac-HD Zac-HD enabled auto-merge May 26, 2023 14:12
@Zac-HD Zac-HD merged commit a5dc611 into HypothesisWorks:master May 26, 2023
@cclauss cclauss deleted the ruff branch May 26, 2023 15:15
@honno
Copy link
Member

honno commented May 31, 2023

Sorry for the necro and this might be placebo, but I just wanted to say I've felt the speed improvements from this! Thanks again @cclauss

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