-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Pin pylint to 1.7.5 and fix docstring styling #3408
Changes from all commits
8edf582
63a96d7
4d10f2e
e720959
10fa100
5b240bc
5630fad
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,15 @@ pep257: | |
- D105 | ||
- D211 | ||
- D104 | ||
- D212 # Multi-line docstring summary should start at the first line | ||
- D107 # Missing docstring in __init__ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We usually put the docstring at the class level. (I personally prefer in the |
||
- D106 # Missing docstring in public nested class | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ignore this one because uses of |
||
|
||
# pydocstyle | ||
- D406 # Section name should end with a newline ('Examples', not 'Examples::') | ||
- D407 # Missing dashed underline after section ('Examples') | ||
- D412 # No blank lines allowed between a section header and its content ('Examples') | ||
- D413 # Missing blank line after last section ('Examples') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ignore all of them because doesn't allow us to use rst like
inside the docstring. |
||
|
||
pyflakes: | ||
disable: | ||
|
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.
D213 and D212 are incompatible. We use D213
See: http://pep257.readthedocs.io/en/latest/error_codes.html