Skip to content

Bump black to 26.5.1 in pre-commit config and template#38

Merged
tsvikas merged 4 commits into
mainfrom
claude/upbeat-darwin-yNa59
May 23, 2026
Merged

Bump black to 26.5.1 in pre-commit config and template#38
tsvikas merged 4 commits into
mainfrom
claude/upbeat-darwin-yNa59

Conversation

@tsvikas
Copy link
Copy Markdown
Owner

@tsvikas tsvikas commented May 23, 2026

Summary

  • Bump the black-pre-commit-mirror hook rev from 26.3.1 to 26.5.1 in .pre-commit-config.yaml.
  • Bump the blacken-docs hook's additional_dependencies from black==26.3.1 to black==26.5.1 in .pre-commit-config.yaml.
  • Bump the same blacken-docs additional_dependencies pin to black==26.5.1 in the template project_name/.pre-commit-config.yaml.jinja.

Both black and the blacken-docs black dependency must be bumped together, because the sync-pre-commit-deps hook (run by pre-commit.ci) syncs the additional_dependencies to the black hook's rev and will otherwise revert one of them.

Test plan

  • pre-commit run --all-files passes locally on the rendered project.
  • pre-commit.ci on this PR does not auto-revert either version.

https://claude.ai/code/session_01FiZQCEunZaFRjUYWyYqSXK

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@tsvikas tsvikas changed the title Update black dependency in pre-commit config to 26.5.1 Bump black to 26.5.1 in pre-commit config and template May 23, 2026
@tsvikas tsvikas merged commit 44c8682 into main May 23, 2026
4 of 5 checks passed
@tsvikas tsvikas deleted the claude/upbeat-darwin-yNa59 branch May 23, 2026 13:27
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.

2 participants