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 #46

Merged
merged 3 commits into from
Apr 29, 2023
Merged

Replace flake8 with ruff #46

merged 3 commits into from
Apr 29, 2023

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Apr 27, 2023

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.

Changes to Python files were done with ruff --fix ..

Copy link
Member

@Cito Cito left a comment

Choose a reason for hiding this comment

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

Thanks, yes, we can try using ruff for this project.

Maybe also a good opportunity to go through the ignored rules and see if something can be improved here (but not in this same PR).

MANIFEST.in Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
@Cito Cito merged commit 6f52641 into WebwareForPython:main Apr 29, 2023
5 checks passed
@cclauss cclauss deleted the ruff branch April 30, 2023 11:43
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.

None yet

2 participants