No blank lines allowed after function docstring
44
45
46def download_file(url, target_path, num_threads=1):
47 """ 48 Download the file from the given `url` and store it at `target_path`.
49 Return a tuple x (url, bool, str).
50 x[0] contains the url.
No blank lines allowed after function docstring
89
90
91def download_file_parallel(url, target_path, num_threads=1):
92 """ 93 Download the file from the given `url` and store it at `target_path`.
94 Return a tuple x (url, bool, str).
95 x[0] contains the url.
Description
There shouldn't be any blank lines after the function docstring. Remove the blank lines to fix this issue.
Not preferred:
def example():
'''Bad docstring.'''
pass
Preferred:
def example():
'''Good docstring.'''
pass