Skip to content

Remove blacken-docs and use ruff-format - #378

Merged
paddyroddy merged 1 commit into
mainfrom
paddyroddy-patch-1
May 19, 2026
Merged

Remove blacken-docs and use ruff-format#378
paddyroddy merged 1 commit into
mainfrom
paddyroddy-patch-1

Conversation

@paddyroddy

Copy link
Copy Markdown
Owner

Following the release of astral-sh/ruff#23434 we can now format code using ruff and no longer need blacken-docs

@paddyroddy
paddyroddy requested a review from Copilot May 19, 2026 10:29
@paddyroddy paddyroddy self-assigned this May 19, 2026
@paddyroddy paddyroddy added enhancement New feature or request prek/pre-commit prek/pre-commit labels May 19, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR replaces the separate blacken-docs hook with ruff-format, relying on the newer Ruff release to format supported code blocks/doc files through the existing Ruff hook setup.

Changes:

  • Removed the blacken-docs pre-commit repo and its black dependency.
  • Bumped ruff-pre-commit from v0.15.12 to v0.15.13.
  • Expanded ruff-format file matching to include Jupyter, Markdown, .pyi, and Python files.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@paddyroddy
paddyroddy merged commit a3d1207 into main May 19, 2026
8 checks passed
@github-project-automation github-project-automation Bot moved this from TODO to Done in @paddyroddy May 19, 2026
@paddyroddy
paddyroddy deleted the paddyroddy-patch-1 branch May 19, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request prek/pre-commit prek/pre-commit

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants