Skip to content

black for formatting, ruff for linting #30

Closed

Description

@mdbenito

I hit this while submitting #29: The makefile uses ruff format but CI uses black. Unless there is a strong preference for the few differences in black's formatting, I think it should be dropped in favour of ruff as a single tool in CI.

Otherwise, I believe the Makefile, readme, and pyproject should be updated to reflect the use of black.

Happy to do either of both.

Activity

  1. adsharma commented on Jun 21, 2026

    @adsharma
    Contributor

    There is also the pre-commit hook. Actual workflow uses a specific version of black. Let's update the Makefile and any other docs to mention black for formatting and ruff for linting.

  2. mdbenito commented on Jun 21, 2026

    @mdbenito
    ContributorAuthor

    I have a branch with just that. Coming up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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