Skip to content

chore(promote): develop → main — black-version default 26.3.1 - #118

Merged
LukasWodka merged 3 commits into
mainfrom
develop
Jul 31, 2026
Merged

chore(promote): develop → main — black-version default 26.3.1#118
LukasWodka merged 3 commits into
mainfrom
develop

Conversation

@LukasWodka

@LukasWodkaLukasWodka commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Promotes #117 (black-version default 23.1.0 → 26.3.1) to main, the ref callers pin. Callers already pin 26.3.1 explicitly, so this only fixes the default for future adopters. Merge-commit per the promotion-hop rule.

Part of tracebloc/backend#1382

🤖 Generated with Claude Code


Note

Low Risk
Documentation and default CI input only; no application runtime, auth, or data paths change, and existing explicit pins are unaffected.

Overview
Updates the reusable code-quality workflow so the black-version input defaults to 26.3.1 instead of 23.1.0.

The black-version input docs now stress aligning CI with each repo’s pre-commit pin, and explain why 26.3.1 is the default (backend/pre-commit alignment, Python 3.12+ compatibility vs 23.1.0’s ast.Str breakage). Callers that already pass black-version: "26.3.1" are unchanged; only workflows that rely on the default pick up the new formatter.

Reviewed by Cursor Bugbot for commit 19fd8d6. Bugbot is set up for automated code reviews on this repo. Configure here.

LukasWodkaand others added 3 commits July 31, 2026 10:27
The 23.1.0 default rested on a measurement that was itself the bug: black
23.1.0 cannot run on Python 3.12+ (ast.Str removed), so it errored on every
file while printing zero 'would reformat' lines, which read as '0 dirty --
pure version skew'. Re-measured on 3.11: NO repo is 23.1.0-clean; backend is
0-dirty under 26.3.1 (its own gate's pin) and every other repo has a real
backlog under both. 26.3.1 is also what the pre-commit hooks pin, so local
and CI agree.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The 23.1.0 default rested on a measurement that was itself the bug: black
23.1.0 cannot run on Python 3.12+ (ast.Str removed), so it errored on every
file while printing zero 'would reformat' lines -- which read as '0 dirty,
pure version skew'. Re-measured on 3.11: no repo is 23.1.0-clean; backend is
0-dirty under 26.3.1 (its own gate's pin) and every other repo has a real
backlog under both versions. 26.3.1 also matches the pre-commit pins, so
local and CI agree.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
fix(code-quality): black-version default 23.1.0 → 26.3.1
@LukasWodka
LukasWodka merged commit 6ab9520 into mainJul 31, 2026
6 checks passed
Sign up for freeto 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

@LukasWodka