Skip to content

Move from flake8 to Ruff #1975

@TeaDrinkingProgrammer

Description

@TeaDrinkingProgrammer

When #1973 is merged, it makes sense to also move from Flake8 to Ruff. Ruff is a tool from the same company (astral) and has similar appeal to UV:

  • Very fast
  • Combines multiple tools (Flake8, isort and Black)
  • Pyproject.toml support (Flake8 is not adding this soon)
  • Nice warnings/errors
  • Good editor integration

Ruff have a FAQ item dedicated to comparing Flake8 with Ruff.

Also see the following experiences from people migrating to Ruff:

This tool can be used to make a start:

I don't mind making a start, but of course, I don't know which rules you want to apply, which you don't and whether or not you want to add new rules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions