-
-
Notifications
You must be signed in to change notification settings - Fork 167
Location reporting returns useless information #115
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 don't think this is fixed (I introduced this in #95). It's not always useless, only if the information is not available at this point. The case were both are None is not caught and in that case we could get a more concise message. I don't think the necessary information is available at this point, but there might be a way to get around this. |
I managed to get some info out when hacked that filename print to return (We run into this case when we tried to use the docstring to generate parts of another one's. Clearly that utils function of ours needs upgrading, too). |
Actually somewhat orthogonal, but in the same travis log there are examples for another message where a location would be most useful, too (though |
Arrg, I should have looked into the recent changes more carefully, and bundle that one into the recent astropy-helpers release. |
I'll see whether I can cook up a PR quickly. Won't promise that it happen, but will look into it tonight. |
I'm not 100% sure this was released yet? I feel the better error messages are mostly helpful for CI and maintainers - contributors tend not to look at the error messages in the doc build that much (unless you make the CI fail). So you can still benefit. I'm often switching between numpydoc branches when building the sklearn docs, at least for debugging purposes ;) |
Development speed on numpydoc is pretty slow, so no rush, and if you get to it at any point, I'm sure many people would appreciate it :) |
It wasn't released yet as of 0.7. |
It will either happen some time soon (as now I still remember where and what the issue was), or probably never... 😉 |
Now that Scikit-learn 0.19.1 is heading out the door, I would like to work towards getting numpydoc 0.8 out, as scikit-learn dev docs are currently a bit broken without b215bed. I figure I might as well try to fix a few of the easy issues here first. |
I have a half-way ready hack from last weekend that I can try to finalize today (sadly my laptop died on Monday, so getting a backup solution up and ready took most of my time after that...). |
So I haven't understood: is this issue fixed in master, or not? |
It's not yet fixed in master. I have one working solution (more like a hack) locally and will open a PR for it shortly. |
See PR #123 |
Using numpydoc 0.7, the location of reporting seems to be broken, the currently provided information is useless yet too verbose.
https://travis-ci.org/astropy/astroquery/jobs/287555157#L1742
I see that part of the code is already been refactored. I wonder if it's fixes my issue, what's your ETA for a new release?
Edit: I've just checked this with the current dev version, same error:
The text was updated successfully, but these errors were encountered: