Skip to content

Switch from black to ruff for code formatting#166

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

Switch from black to ruff for code formatting#166
MaxGhenis merged 2 commits intomainfrom
switch-to-ruff

Conversation

@MaxGhenis
Copy link
Contributor

Summary

  • Replace black, isort, and linecheck with ruff>=0.9.0 in dev dependencies
  • Remove [tool.black] and [tool.isort] config sections from pyproject.toml
  • Update Makefile check-format and format targets to use ruff format
  • Add changelog fragment
  • Reformat all Python files with ruff format using default settings

Test plan

  • ruff format --check . passes

Generated with Claude Code

Replace black, isort, and linecheck with ruff>=0.9.0 in dev dependencies,
remove [tool.black] and [tool.isort] config sections, update Makefile
check-format/format targets, and reformat all files with ruff format
using default settings.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
microimpute-dashboard Ready Ready Preview, Comment Mar 6, 2026 1:32pm

The Makefile's check-format target now uses `ruff format` but CI was
still installing black, isort, and linecheck, causing "ruff: No such
file or directory".

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