-
Notifications
You must be signed in to change notification settings - Fork 1.5k
DEV: Remove ignore Ruff rule RET503 #3209
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
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.