Add bugbear linter to ruff linter emulations - #1296
Conversation
eaec87b to
17cccb4
Compare
Signed-off-by: mulhern <amulhern@redhat.com>
17cccb4 to
1ccaf7f
Compare
It is observed by Python type analyzers like pyright and the assertion is not optimized away, as assert can be with some Python compilation flags. Assisted-by: Claude:claude-sonnet-4-5 Signed-off-by: the Mulhern <amulhern@amulhern.bos.csb>
1ccaf7f to
1d24d7d
Compare
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (5)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. WalkthroughThe project enables Ruff bugbear rules and updates affected code. Changes add strict iterable-length validation, direct attribute access, and ChangesRuff lint updates
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Other Merge Risk: ⚪ Minimal · up to The lint updates are mergeable with no identified runtime or integration risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Related stratis-storage/project#900