Remove hanging lines from docstrings. (#2349)

* Remove hanging lines from docstrings.

Deleted hanging blank lines at the end of docstrings.

Regex pattern:
 - find `\n\n( *)"""`
 - replace with `\n$1"""`
This commit is contained in:
Rodrigo Girão Serrão
2023-04-24 11:21:38 +01:00
committed by GitHub
parent 80f4c12e76
commit e5033d7d23
60 changed files with 1 additions and 217 deletions

View File

@@ -29,7 +29,6 @@ class ScrollViewTester(App[None]):
background: $primary-darken-2;
border: round red;
}
"""
def compose(self) -> ComposeResult:

View File

@@ -9,7 +9,6 @@ class AnimApp(App):
#foo {
height: 1;
}
"""
def compose(self) -> ComposeResult:

View File

@@ -12,7 +12,6 @@ re_link_ids = re.compile(r"id=[\d\.\-]*?;.*?\x1b")
def replace_link_ids(render: str) -> str:
"""Link IDs have a random ID and system path which is a problem for
reproducible tests.
"""
return re_link_ids.sub("id=0;foo\x1b", render)