Skip to content

Switch code formatter from Black to Ruff#287

Merged
MaxGhenis merged 2 commits intomainfrom
switch-to-ruff-format
Mar 6, 2026
Merged

Switch code formatter from Black to Ruff#287
MaxGhenis merged 2 commits intomainfrom
switch-to-ruff-format

Conversation

@MaxGhenis
Copy link
Contributor

Summary

  • Replace Black with Ruff (ruff>=0.9.0) in both main and dev dependencies
  • Remove [tool.black] configuration section from pyproject.toml
  • Update Makefile format target: black . -l 79 -> ruff format .
  • Reformat all Python files with Ruff defaults (88 char line length)

Test plan

  • ruff format --check . passes (115 files formatted)
  • CI passes

Generated with Claude Code

MaxGhenis and others added 2 commits March 6, 2026 07:53
Replace Black with Ruff for code formatting across pyproject.toml,
Makefile, and all Python source files. Uses Ruff defaults (88 char
line length) with no custom configuration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@MaxGhenis MaxGhenis merged commit cc4a884 into main Mar 6, 2026
4 checks passed
@MaxGhenis MaxGhenis deleted the switch-to-ruff-format branch March 6, 2026 13:34
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