One-line docstring should fit on one line with quotes
354
355
356def populate():
357 """358 Create defined Roles, Services and Permissions.
359 """
360 print('Creating roles...')
Description
If a docstring fits in a single line (72 characters according to PEP8), it is recommended to have the quotes on the same line.
Bad practice
def foo():
"""
Runs bar and returns baz.
"""
baz = bar()
return baz
Recommended
def foo():
"""Runs bar and returns baz."""
baz = bar()
return baz