Skip to content

pyupgrade/black/isort/flake8 → ruff #765

@DimitriPapadopoulos

Description

@DimitriPapadopoulos

This is a suggestion to move from the tools listed in .pre-commit-config.yaml to ruff.

The rationale:

  • Ruff is gaining momentum, at least in scientific Python packages, enough to appear as a stable tool available in the long term.
  • Simplify by using a single tool to lint and format.
  • More ruff rules could be added, specifically flake8-bugbear.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions