One-line docstring should fit on one line with quotes
3
4
5class Variables:
6 """7 A class contains static variables for this bot
8 """
9 SPOTIFY_CLIENT: Spotify = MISSING
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