-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Count match cases for too-many-branches #10542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #10542 +/- ##
=======================================
Coverage 95.88% 95.88%
=======================================
Files 177 177
Lines 19346 19349 +3
=======================================
+ Hits 18549 18552 +3
Misses 797 797
🚀 New features to boost your workflow:
|
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but there's definitely a discussion issue where we both discussed this that we need to close when merging :) (I'm on mobile i'll bé able to find it later)
I was thinking of this : #9667 |
00b41f4
to
ffe05b7
Compare
This comment has been minimized.
This comment has been minimized.
3954fd6
to
dc80e65
Compare
Didn't realize this was this open. IMO match in Python is basically an enhanced if statement. So checks should treat it similarly. AFAICT that was also your opinion on the ruff issue, unless I got that wrong. -- |
Description
Followup to #10528 (comment)