Uh oh!
There was an error while loading. Please reload this page.
chore(promote): develop → main — black-version default 26.3.1 - #118
Merged
Conversation
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
Uh oh!
There was an error while loading. Please reload this page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-versioninput defaults to 26.3.1 instead of 23.1.0.The
black-versioninput 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’sast.Strbreakage). Callers that already passblack-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.