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

feat: replace flake8 + plugins and isort with ruff #932

Merged
merged 5 commits into from
Dec 5, 2022
Merged

feat: replace flake8 + plugins and isort with ruff #932

merged 5 commits into from
Dec 5, 2022

Conversation

jnsgruk
Copy link
Member

@jnsgruk jnsgruk commented Nov 25, 2022

We have previously standardised on using flake8 with a number of plugins, and pyproject-flake8 to enable us to configure all of our linting tools in one place (pyproject.toml)

Over the past months, there have been two major releases of flake8, and both have caused various issues with the various plugins and their dependencies, leading to instability in CI pipelines.

I've been following ruff for a while. It's a Python linter, written in Rust, that combines a lot of the rules we were using from these other plugins. It's actively maintained, and all under one project, reducing the complexity of the dependency tree a little. It's got adoption from some pretty large projects like FastAPI and pydantic.

Proposing here for discussion.

Copy link
Contributor

@facundobatista facundobatista left a comment

Choose a reason for hiding this comment

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

Wonderful, thanks! Removed a couple of extra blank lines so "current flake8 from outside" does not complain.

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