DEV: Remove ignore Ruff rule RET503#3209
Conversation
RET503: Missing explicit "return" at the end of function able to return non-"None" value.
RET503: Missing explicit "return" at the end of function able to return non-"None" value.
RET503: Missing explicit "return" at the end of function able to return non-"None" value.
RET503: Missing explicit "return" at the end of function able to return non-"None" value.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3209 +/- ##
==========================================
+ Coverage 97.10% 97.11% +0.01%
==========================================
Files 57 57
Lines 9711 9713 +2
Branches 1759 1758 -1
==========================================
+ Hits 9430 9433 +3
Misses 168 168
+ Partials 113 112 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
RET503: Missing explicit "return" at the end of function able to return non-"None" value.
RET503: Missing explicit "return" at the end of function able to return non-"None" value.
RET503: Missing explicit "return" at the end of function able to return non-"None" value.
RET503: Missing explicit "return" at the end of function able to return non-"None" value.
RET503: Missing explicit "return" at the end of function able to return non-"None" value.
|
@stefan6419846 could you fix the two Ruff errors (2 fixable with the |
Just use |
Updated test cases for find_outline_item method.
Remove redundant return statement in get_next method.
|
@stefan6419846 the |
|
I guess |
|
I have marked it as |
RET503: Missing explicit "return" at the end of function able to return non-"None" value.