-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CLN: Remove inheritance from object in pyx-files #26217
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
CLN: Remove inheritance from object in pyx-files #26217
Conversation
@@ -141,7 +141,7 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then | |||
RET=$(($RET + $?)) ; echo $MSG "DONE" | |||
|
|||
MSG='Check for python2 new-style classes' ; echo $MSG | |||
invgrep -R --include="*.py" -E "class\s\S*\(object\):" pandas scripts | |||
invgrep -R --include="*.py" --include="*.pyx" -E "class\s\S*\(object\):" pandas scripts |
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.
Would make sense to just have one include flag like in the other PR
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.
This follows the conventions of the code_checks.sh file. I also find it more readable than the other convention...
Codecov Report
@@ Coverage Diff @@
## master #26217 +/- ##
==========================================
- Coverage 91.97% 91.97% -0.01%
==========================================
Files 175 175
Lines 52379 52379
==========================================
- Hits 48178 48174 -4
- Misses 4201 4205 +4
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #26217 +/- ##
==========================================
- Coverage 91.97% 91.97% -0.01%
==========================================
Files 175 175
Lines 52379 52379
==========================================
- Hits 48178 48174 -4
- Misses 4201 4205 +4
Continue to review full report at Codecov.
|
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
Thanks @topper-123 ! |
Continuation of #26128, this time dealing with pyx-files.