Python

Python

Made by DeepSource

No blank lines allowed before function docstring FLK-D201

Documentation
Minor

There shouldn't be any blank lines before the function docstring. Remove the blank lines to fix this issue.

Not preferred:

def example():

    '''Bad docstring.'''
    ...

Preferred:

def example():
    '''Good docstring.'''
    ...