fix(clang-format): preserve SPDX comments#1560
Conversation
Signed-off-by: Bradley Dice <bdice@bradleydice.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Signed-off-by: Bradley Dice <bdice@bradleydice.com>
Signed-off-by: Bradley Dice <bdice@bradleydice.com>
Signed-off-by: Bradley Dice <bdice@bradleydice.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (55)
📝 WalkthroughWalkthroughUpdated formatter and pre-commit configuration, normalized SPDX header formatting across production and supporting files, and added a targeted hardcoded-version check suppression in the regression configuration. ChangesHeader and tooling alignment
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
CI Test Summary✅ All 31 test job(s) passed. |
Description
Contributes to rapidsai/build-planning#303.
This updates clang-format's
CommentPragmasto preserve SPDX copyright and license lines. Without this, clang-format reflows the canonical notice produced byverify-copyright, so consecutive pre-commit runs keep modifying the same block comment. Where a header was already corrupted, this also restores its canonical two-line form.