-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Add check that all parameters are properly documented #7758
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
Also see #3791 |
Perhaps make a pull request so we can see to what extent these can be easily fixed. I recall writing a script to list these inconsistencies once (perhaps I have it as a Gist) but that there were some tricky cases. |
@jnothman Earlier I kept the script in
I can't seem to figure out a way to run it from |
I suggest that you move back the test to the It's okay if the CI fails... We can address the failures (which is the whole point of this issue) one by one :) |
@raghavrv Thanks ! Created a PR and marked it WIP. |
A few particular cases (a subset of those referenced in #7901) where documentation is missing:
|
Automating some of this a bit better is something I'm slowly working on :\
…On 28 December 2016 at 15:58, Jacob Peacock ***@***.***> wrote:
A few particular cases (a subset of those referenced in #7901
<#7901>) where
documentation is missing:
- LogisticRegression.classes_
- MultinomialNB.classes_
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7758 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAEz66YTO1nNMdTVe3ypVKZIIKjeJpOpks5rMexzgaJpZM4KhUWr>
.
|
This may be relevant to you, too: pydocstyle can now check for numpy docstyle conventions: PyCQA/pydocstyle#226 |
Thanks @bsipocz, this is interesting, and a little useful. I will comment on that PR. |
We should steal stuff from https://github.com/mne-tools/mne-python/blob/master/mne/tests/test_docstring_parameters.py
as @agramfort pointed out.
The text was updated successfully, but these errors were encountered: