-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ENH, TST: Add FutureWarning to read_table #51048
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
ENH, TST: Add FutureWarning to read_table #51048
Conversation
kathleenhang
commented
Jan 28, 2023
- closes WARN read_table with infer_datetime_format doesn't show FutureWarning #51017
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!
I've just left some comments - did you manage to run the test locally?
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.
almost there 💪
you'll also need to run the code checks, see here for how to run them https://pandas.pydata.org/docs/dev/development/contributing_codebase.html#pre-commit (and of course do reach out if something doesn't work 🙏 ) |
Confusion is high. Here are the errors I get from running pre-commit: https://gist.github.com/kathleenhang/edf62b27a5510f96ba4c475f98869c12 Things I've tried:
Edit: Figured it out! Had to run |
I ran pre-commit in VSCode which passed all code checks for all modified files. However, it fails the Github code checks. I also got this complaint when trying to commit my changes: I wasn't sure how to override the complaint. If I revert my pre-commit configuration file, it causes pre-commit to break again with the same error. |
Thanks for sticking with this! We're getting close Having done Was it only It looks like the
and then |
Correct, it was only Okay, I've reverted back to the original pre-commit and did as you mentioned. It has passed all checks on my end. |
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.
Nice, well done @kathleenhang ! Looks good to me pending green
@MarcoGorelli Thank you! |
We have to deploy the isort fix on 1.5.x as well |
you're right, thanks - I should've made a separate PR just for that so we could just have backported it I've opened #51069 |
Thx |