Skip to content

chore(tooling)!: replace Black formatting with Ruff#146

Merged
MebinAbraham merged 2 commits into
mainfrom
chore/remove-black
Jul 16, 2026
Merged

chore(tooling)!: replace Black formatting with Ruff#146
MebinAbraham merged 2 commits into
mainfrom
chore/remove-black

Conversation

@MebinAbraham

Copy link
Copy Markdown
Collaborator

What is the context of this PR?

Replace Black with Ruff as the default Python formatter, reducing duplicated tooling and simplifying the generated project configuration.

Historically, Ruff did not fully cover Black’s formatting behaviour, including some handling of overlong lines. Ruff’s formatter is now mature enough to serve as the default for this template, and consolidating linting and formatting into a single tool simplifies dependency management, packaging, configuration, and maintenance.

This is a breaking change because generated projects no longer install or invoke Black. Existing projects, CI pipelines, local development workflows, and automation that rely on Black must migrate to ruff format.

Projects that require Black-specific formatting behaviour can still add Black alongside Ruff and configure their formatting commands accordingly.

How to review

Ensure the changes make sense

Follow-up Actions

List any follow-up actions (if applicable), like needed documentation updates or additional testing.

@MebinAbraham
MebinAbraham merged commit 8940534 into main Jul 16, 2026
5 checks passed
@MebinAbraham
MebinAbraham deleted the chore/remove-black branch July 16, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant