-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CLN: C408 Unnecessary dict call - rewrite as a literal #38138
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
Comments
I would like to take the followings as the first step./pandas/core/generic.py |
Created a PR (#38180 )that addresses the following files: ./pandas/tests/reshape/concat/test_datetimes.py @fangchenli Is a whatsnew entry necessary for such a change in the code? |
first-time contributor here; please let me know if I'd missed anything |
Hi, I'm new to contributing and would like to help on this issue. Do I need to request to work on specific files before I start? |
No, that is not necessary. |
@fangchenli if you have a chance can you check things off from the merged PRs |
Just submitted a PR to fix another swath of this. |
I would like to start working on the following |
Hi @jreback I would also take up and push to the same PR #38263 EDIT: |
@zanuttin hey, |
I have already pushed the modifications @vmdhhh, sorry for not paying attention on your first comment. |
Hi again @jreback, I checked the file ./pandas/core/dtypes/dtypes.py and it has no unnecessary dict calls also added 5 more files that passed all checks: pandas/core/arrays/base.py |
I've checked everything in #38320 (not merged yet) off. Please select from the remaining files to work on. |
Hello, I would like to take ./pandas/tests/io/parser/test_parse_dates.py as my first issue. |
I will do /pandas/tests/io/parser/test_index_col.py |
Hi @jreback I just updated the last 10 files remaining, this will close the issue, |
close the issue when the checks are updated |
sorry didn't realise there was the "closes" keyword in the PR, will check more carefully next time |
The following files contain flake8 C408 Unnecessary dict call - rewrite as a literal. Good for first time contributors. See #38078 and #38116 for how to fix them. Use
flake8 [file_path]
to check for each file.C408
Remove ignore setting from flake8 section
The text was updated successfully, but these errors were encountered: