Skip to content

Remove to original callable #29012

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

ChiefMilesEdgeworth
Copy link
Contributor

  • tests passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff

@datapythonista This is the pull request for replacing to_original_callable

Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

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

Thanks @Nabel0721. Before we merge this we need to make sure we understand what it affects.

We should generate the list of error before and after this change, and see which errors this fixes, and which this introduces, and see if it's what we want. You have a --format=json that can be useful.

@ChiefMilesEdgeworth
Copy link
Contributor Author

Attached are the two json files with the errors. It looks like it's introducing more errors, but I think that it's just uncovering some errors that were previously covered. We can hold off on this PR though, if you think it's introducing too much. Some of the new errors should be sorted out as I go through the codebase for decorators without the __wrapped__ atribute.

change_formatted.txt
master_formatted.txt

Let me know what you think when you can. There's a lot of data in there.

This import is now unnecessary for this script.
@datapythonista
Copy link
Member

Thanks for that @Nabel0721. It's not a problem at all to have more errors, if they are genuine. What I don't is to add incorrect errors, because we're validating the wrong docstring.

Do you have the list of new errors? Would be great to have a look at some of them and try to understand why they're appearing after this change.

@ChiefMilesEdgeworth
Copy link
Contributor Author

ChiefMilesEdgeworth commented Oct 16, 2019 via email

@jreback jreback added the Docs label Oct 18, 2019
@WillAyd
Copy link
Member

WillAyd commented Nov 7, 2019

I think this is already done now that the script lives in numpydoc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants