No blank lines allowed after function docstring
366
367
368async def projects_stats() -> list[models.Project]:
369 """Fetch all the projects that have been created in the last 24 hours."""370
371 tz = pytz.timezone(app.config['TIMEZONE'])
372 now = utcnow().astimezone(tz)
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