Skip to content

Both black and ruff format are configured - pick one #285

Description

@detrin

pyproject.toml has config for both [tool.black] and [tool.ruff] formatting. Ruff's formatter is a drop-in replacement for Black, so having both creates ambiguity about which is authoritative.

Pre-commit runs ruff format, so Black config appears to be dead weight. Removing [tool.black] and black from dev dependencies would simplify things.

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