Skip to content

Switch from black to ruff#523

Merged
fohrloop merged 4 commits intomainfrom
switch-from-black-to-ruff-497
Dec 30, 2025
Merged

Switch from black to ruff#523
fohrloop merged 4 commits intomainfrom
switch-from-black-to-ruff-497

Conversation

@fohrloop
Copy link
Copy Markdown
Member

@fohrloop fohrloop commented Dec 30, 2025

Black is an awesome formatting tool. But since this project uses ruff, and it has similar functionality, switching from black to ruff to drop one dependency. In addition, ruff is faster.

Closes: #497

@fohrloop fohrloop merged commit aa3ecc8 into main Dec 30, 2025
25 checks passed
@fohrloop fohrloop deleted the switch-from-black-to-ruff-497 branch December 30, 2025 11:44
fohrloop added a commit that referenced this pull request Dec 30, 2025
Motivation: When switched from Black to ruff in #523, forgot to add the
ruff format checks in the GitHub pipelines.

Add the ruff format --check command to the GitHub workflow doing the
code checks.

Amends #523
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.

Switch from black to ruff

1 participant