chore: ignore ruff-format reformat commits in git blame - #31520
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Greptile SummaryAdds two mechanical reformat commit hashes (
Confidence Score: 5/5Safe to merge — only adds two commit hashes to a developer metadata file with no effect on any runtime behaviour. The change is two lines of metadata appended to No files require special attention.
|
| Filename | Overview |
|---|---|
| .git-blame-ignore-revs | Adds two ruff-format reformat commit hashes so git blame skips them and shows original authorship |
Reviews (1): Last reviewed commit: "chore: ignore ruff-format reformat commi..." | Re-trigger Greptile
Both BerriAI#31317 (black to ruff format) and BerriAI#31518 (unify width on 120) are mechanical reformats with AST-equivalence proofs, so add them to .git-blame-ignore-revs to keep blame pointing at the real authors.
Relevant issues
Linear ticket
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
@greptileaiand received a Confidence Score of at least 4/5 before requesting a maintainer reviewThere are no tests because this only adds two commit hashes to
.git-blame-ignore-revs; there is no runtime behavior to assert onScreenshots / Proof of Fix
This is a metadata-only change to
.git-blame-ignore-revs, so there is no proxy behavior to curl. The effect is thatgit blame(and the GitHub Blame UI) skip the two mechanical reformat commits and point at the real authors of each line. Locally:Type
🧹 Refactoring
🚄 Infrastructure
Changes
Both #31317 (black to ruff format) and #31518 (unify ruff format width on 120) were pure mechanical reformats, each verified semantically inert by an AST-equivalence proof on its PR. Lines they touched currently show up under the reformat commit in
git blame, which buries the real authorship. Adding the two reformat commit hashes to.git-blame-ignore-revsmakes blame skip them, which is exactly what the existing entries in that file (the pydantic warning fix and the prettier dashboard run) already doThe hashes added are 430b5b8 for #31317 and 3dfbeab for #31518
Generated by Claude Code