| 1 |
def docstring_almost_at_line_limit(): |
| 2 |
"""long docstring................................................................. |
| 3 |
""" |
| 4 |
|
| 5 |
|
| 6 |
def docstring_almost_at_line_limit_with_prefix(): |
| 7 |
f"""long docstring................................................................ |
| 8 |
""" |
| 9 |
|
| 10 |
|
| 11 |
def mulitline_docstring_almost_at_line_limit(): |
| 12 |
"""long docstring................................................................. |
| 13 |
|
| 14 |
.................................................................................. |
| 15 |
""" |
| 16 |
|
| 17 |
|
| 18 |
def mulitline_docstring_almost_at_line_limit_with_prefix(): |
| 19 |
f"""long docstring................................................................ |
| 20 |
|
| 21 |
.................................................................................. |
| 22 |
""" |
| 23 |
|
| 24 |
|
| 25 |
def docstring_at_line_limit(): |
| 26 |
"""long docstring................................................................""" |
| 27 |
|
| 28 |
|
| 29 |
def docstring_at_line_limit_with_prefix(): |
| 30 |
f"""long docstring...............................................................""" |
| 31 |
|
| 32 |
|
| 33 |
def multiline_docstring_at_line_limit(): |
| 34 |
"""first line----------------------------------------------------------------------- |
| 35 |
|
| 36 |
second line----------------------------------------------------------------------""" |
| 37 |
|
| 38 |
|
| 39 |
def multiline_docstring_at_line_limit_with_prefix(): |
| 40 |
f"""first line---------------------------------------------------------------------- |
| 41 |
|
| 42 |
second line----------------------------------------------------------------------""" |
| 43 |
|
| 44 |
|
| 45 |
def single_quote_docstring_over_line_limit(): |
| 46 |
"We do not want to put the closing quote on a new line as that is invalid (see GH-3141)." |
| 47 |
|
| 48 |
|
| 49 |
def single_quote_docstring_over_line_limit2(): |
| 50 |
'We do not want to put the closing quote on a new line as that is invalid (see GH-3141).' |
| 51 |
|
| 52 |
|
| 53 |
# output |
| 54 |
|
| 55 |
|
| 56 |
def docstring_almost_at_line_limit(): |
| 57 |
"""long docstring.................................................................""" |
| 58 |
|
| 59 |
|
| 60 |
def docstring_almost_at_line_limit_with_prefix(): |
| 61 |
f"""long docstring................................................................ |
| 62 |
""" |
| 63 |
|
| 64 |
|
| 65 |
def mulitline_docstring_almost_at_line_limit(): |
| 66 |
"""long docstring................................................................. |
| 67 |
|
| 68 |
.................................................................................. |
| 69 |
""" |
| 70 |
|
| 71 |
|
| 72 |
def mulitline_docstring_almost_at_line_limit_with_prefix(): |
| 73 |
f"""long docstring................................................................ |
| 74 |
|
| 75 |
.................................................................................. |
| 76 |
""" |
| 77 |
|
| 78 |
|
| 79 |
def docstring_at_line_limit(): |
| 80 |
"""long docstring................................................................""" |
| 81 |
|
| 82 |
|
| 83 |
def docstring_at_line_limit_with_prefix(): |
| 84 |
f"""long docstring...............................................................""" |
| 85 |
|
| 86 |
|
| 87 |
def multiline_docstring_at_line_limit(): |
| 88 |
"""first line----------------------------------------------------------------------- |
| 89 |
|
| 90 |
second line----------------------------------------------------------------------""" |
| 91 |
|
| 92 |
|
| 93 |
def multiline_docstring_at_line_limit_with_prefix(): |
| 94 |
f"""first line---------------------------------------------------------------------- |
| 95 |
|
| 96 |
second line----------------------------------------------------------------------""" |
| 97 |
|
| 98 |
|
| 99 |
def single_quote_docstring_over_line_limit(): |
| 100 |
"We do not want to put the closing quote on a new line as that is invalid (see GH-3141)." |
| 101 |
|
| 102 |
|
| 103 |
def single_quote_docstring_over_line_limit2(): |
| 104 |
"We do not want to put the closing quote on a new line as that is invalid (see GH-3141)." |