Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
CI: run pydocstyle with our custom options#17145
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
3b2e153 tob859a67Comparebrunobeltran commentedApr 15, 2020
Based on the CI results, I would recommend adding For context, now that (Again, there was nothing removed from the |
Uh oh!
There was an error while loading.Please reload this page.
70e7dff toff9da09Compareff9da09 tof1b8705Comparebrunobeltran commentedApr 15, 2020
Tried to remove the |
brunobeltran commentedApr 16, 2020
Looks like this commit should wait on#17143 (or vice-versa, that PR should add |
Uh oh!
There was an error while loading.Please reload this page.
PR Summary
Fixes#17141, so that we can add extra individual errors to our flake8-docstrings (really, pydocstyle) check, especially
D213, per this week's call.Per the discussion onhttps://gitlab.com/pycqa/flake8-docstrings/-/issues/43, the intended solution is currently for us to list all the
numpy-style error codes manually in ourselectblock in.flake8, then add extra ones as needed.In order to get the extra non-
numpycodes to work, we have to use the (currently undocumented, but seehttps://gitlab.com/pycqa/flake8-docstrings/-/merge_requests/27) special catch-all flag,--docstring-convention=all.Just for the record, the full list of non
--docstring-convention=numpyerror codes that we could choose to turn on is: D107, D203, D212, D213, D402, D413, D415, D416, and D417.Their meanings can be found athttp://www.pydocstyle.org/en/latest/error_codes.html.
PR Checklist