-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CLN: Made final changes to /pandas/tests/scalar #36388
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
If I understand correctly the idea of #35925 is to remove commas at the ends of single lines, not trailing commas generally |
Yes, I believe that the magic comma in the end of the multiline statements does not lead to any rearrangement in black. In the single line, however, the situation is different. So, in the case of removing a trailing comma from multiline statements, black would in contrast try to squeeze them into the single line. |
Workflow here should be:
|
I tried removing the trailing commas present in the test_arithmetic.py file. But running the file throws the below error No name 'offsets' in module 'pandas._libs.tslibs' Is this something that I should modify? |
Maybe you want to locally re-build C extensions.
|
The error still persists even after performing a local rebuild of C extensions. Also I tried finding out where exactly the linting check had failed in the CI Checks option, but din't find what the linting error was. So could you guide me on that? |
Apparently, black reformatted files.
Please try to follow the approach by @MarcoGorelli. |
You don't need to run the file, you just need to run |
Thanks @Abishek15592 for the PR. #35925 has been now been closed off by #36493 so closing. |
No description provided.