Skip to content
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

fixed issue of mypy for test_ujson #29022

Merged

Conversation

iamrajhans
Copy link
Contributor

@iamrajhans iamrajhans commented Oct 16, 2019

@pep8speaks
Copy link

pep8speaks commented Oct 16, 2019

Hello @iamrajhans! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2019-10-18 06:38:56 UTC

@simonjayhawkins simonjayhawkins added the Typing type annotations, mypy/pyright type checking label Oct 16, 2019
Copy link
Member

@simonjayhawkins simonjayhawkins left a comment

Choose a reason for hiding this comment

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

@iamrajhans Thanks for the PR. change looks good.

@simonjayhawkins simonjayhawkins added this to the 1.0 milestone Oct 16, 2019
Copy link
Member

@simonjayhawkins simonjayhawkins left a comment

Choose a reason for hiding this comment

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

@@ -1,7 +1,10 @@
try:
Copy link
Member

Choose a reason for hiding this comment

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

Can you get rid of the try...except altogether? This looks like legacy code - import json should work dating back to at least Python 2.6

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure, will do it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@WillAyd I have done the changes, please review

@iamrajhans iamrajhans requested a review from WillAyd October 17, 2019 07:39
@WillAyd WillAyd merged commit 709436d into pandas-dev:master Oct 18, 2019
@WillAyd
Copy link
Member

WillAyd commented Oct 18, 2019

Thanks @iamrajhans

HawkinsBA pushed a commit to HawkinsBA/pandas that referenced this pull request Oct 29, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
bongolegend pushed a commit to bongolegend/pandas that referenced this pull request Jan 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants