I'm trying to use flake8(pydocstyle) to check the quality of my docstring and I'm getting this error:
D205: 1 blank line required between summary line and description This is how my code looks like Exemple:
def func(
self,
source: str,
) -> str:
"""
Generates an sql query for a temporary table by searching
the source code in the rules and restrictions table for these sources.
Args:
source: data source code
Returns:
sql query for creating a table
"""
sql = None
A long message that is difficult to separate. And max line length = 100 How to transfer a sentence to another line correctly? Or is it easier to ignore the error on such cases?
I tried to divide, but the meaning is a little lost. So far only so
# noqa D205 1 blank line required between summary line and description