-
-
Notifications
You must be signed in to change notification settings - Fork 11.7k
MAINT: Enable linting with ruff E501 #28947 (test-numeric.py) #30184
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
base: main
Are you sure you want to change the base?
Conversation
b863d00 to
046103c
Compare
Jacob-Stevens-Haas
left a comment
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.
Thanks for working on this! A few nits about line breaks to keep relevant things on the same line.
numpy/_core/tests/test_numeric.py
Outdated
| # gh-12130 | ||
| arr_0d = np.array(1) | ||
| ret = np.tensordot(arr_0d, arr_0d, ([], [])) # contracting no axes is well defined | ||
|
|
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.
Delete extra line
Co-authored-by: Jacob Stevens-Haas <[email protected]>
Co-authored-by: Jacob Stevens-Haas <[email protected]>
Co-authored-by: Jacob Stevens-Haas <[email protected]>
Co-authored-by: Jacob Stevens-Haas <[email protected]>
Jacob-Stevens-Haas
left a comment
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 for working on this!
MNT: adding bracketing and linting changes for issue numpy#28947, PR numpy#30184 Co-authored-by: Joren Hammudoglu <[email protected]>
|
@jorenham i've added your suggestions |
#28947
@Jacob-Stevens-Haas