| | 34 | |
| | 35 | In my own mind, this subset feels like its worth adopting. |
| | 36 | Other than the ones for missing docstrings, most of Django's documentation already fits within these checks. |
| | 37 | D100 Missing docstring in public module |
| | 38 | D101 Missing docstring in public class |
| | 39 | D102 Missing docstring in public method |
| | 40 | D103 Missing docstring in public function |
| | 41 | D201 No blank lines allowed before function docstring |
| | 42 | D202 No blank lines allowed after function docstring |
| | 43 | D203 1 blank line required before class docstring |
| | 44 | D204 1 blank line required after class docstring |
| | 45 | D209 Multi-line docstring closing quotes should be on a separate line |
| | 46 | D300 Use “”“triple double quotes”“” |
| | 47 | D401 First line should be in imperative mood |
| | 48 | D402 First line should not be the function’s “signature” |