Skip to content

CLN: remove unnecessary trailing commas on issues #35925 #36193

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

Merged
merged 4 commits into from
Sep 9, 2020
Merged

CLN: remove unnecessary trailing commas on issues #35925 #36193

merged 4 commits into from
Sep 9, 2020

Conversation

satrio-hw
Copy link
Contributor

#35925

  • pandas/tests/arrays/categorical/test_replace.py
  • pandas/tests/arrays/sparse/test_array.py
  • pandas/tests/arrays/test_array.py
  • pandas/tests/arrays/test_timedeltas.py
  • pandas/tests/base/test_conversion.py
  • pandas/tests/dtypes/test_missing.py
  • pandas/tests/extension/base/methods.py
  • pandas/tests/extension/test_sparse.py
  • pandas/tests/frame/indexing/test_setitem.py

please give me a feedback if there is something that I have to change.. thank you before

@satrio-hw satrio-hw changed the title CLN:#35925 CLN: remove unnecessary trailing commas on issues #35925 Sep 7, 2020
@MarcoGorelli
Copy link
Member

MarcoGorelli commented Sep 7, 2020

Hi @satrio-hw

You will need to run black again on the files you've modified to make sure they won't be changed

@satrio-hw
Copy link
Contributor Author

@MarcoGorelli I've tried to rerun black on modified files, some of them revert back with commas on it.. And still got some error when chacking after I push back.. Something I could do to fix this?

@MarcoGorelli
Copy link
Member

@satrio-hw I think you can not include pandas/tests/arrays/sparse/test_array.py as part of this pull request, as the two versions of black will not agree on how to reformat it and we need to the trailing comma there. So, we'll update it when we update the version of black. The rest of your PR looks good!

@satrio-hw
Copy link
Contributor Author

@MarcoGorelli I've revert back pandas/tests/arrays/sparse/test_array.py to origin/master. To make sure I've run a command ./ci/code_checks.sh lint and check there is only one changes to commit.. linting check done successful after pushing changes, but now I got failed tests on pandas-dev.pandas

is there something wrong in the procedures that I've done? thanks before

Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks correct now, thanks, the CI error should be unrelated - can you fetch and merge master, then push, to restart the CI process and get it green?

@satrio-hw
Copy link
Contributor Author

@MarcoGorelli I've fetch and merge master, and push it again.. now all green.. thank you very much for your guidance

@jreback jreback added the Code Style Code style, linting, code_checks label Sep 9, 2020
@jreback jreback added this to the 1.2 milestone Sep 9, 2020
@jreback jreback merged commit faae2f0 into pandas-dev:master Sep 9, 2020
@jreback
Copy link
Contributor

jreback commented Sep 9, 2020

thanks @satrio-hw

kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Style Code style, linting, code_checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants