Is there a way/tool to automatize a part of this work: I mean
Blank line missing between one-line summary and description
Expected 1 blank line *before* class docstring, found 0
type errors -- this kind may be machine-corrected. Not the missing docstrings, of course.