[REF] auto-fix conventions (and manual fixes)

Here there's a removal of a new line before a docstring, while there are additions everywhere else.