Skip to content

Replace flake8 with ruff #10196

@phofl

Description

@phofl

Ruff is a new linter written in Rust.

Ruff is actively developed and would enable us to replace a bunch of different pre-commit hooks with ruff. pandas moved over a couple of months ago and we are quite happy with ruff. They are adding new rules constantly, so chances are high that we will be able to replace more stuff as time goes on. We could get rid of a couple of third party extensions like absolufy-imports.

The readme explains most of the important things:

https://github.com/charliermarsh/ruff

cc @jrbourbeau @fjetter @crusaderky @graingert

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprove existing functionality or make things work betterneeds attentionIt's been a while since this was pushed on. Needs attention from the owner or a maintainer.needs infoNeeds further information from the user

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions