Fix pr-format CI to fail on formatting changes#7411
Fix pr-format CI to fail on formatting changes#7411youknowone merged 2 commits intoRustPython:mainfrom
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe PR enhances the formatting validation workflow by adding a check for uncommitted formatting changes that fails the job if detected, while reorganizing the stdlib tokenizer module declaration and applying formatting improvements to the tokenizer source file. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Add git diff --exit-code step to fail the check when formatters produce changes. Previously reviewdog only posted suggestions without failing the workflow.
fmt CI is lost. we have to recover it
Summary by CodeRabbit