fix: flake8 trailing blank lines
Remove trailing blank line at EOF to satisfy flake8 W391.
This commit is contained in:
@@ -71,4 +71,3 @@ async def get_markdown(
|
|||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
raise HTTPException(status_code=status.HTTP_502_BAD_GATEWAY, detail=str(exc)) from exc
|
raise HTTPException(status_code=status.HTTP_502_BAD_GATEWAY, detail=str(exc)) from exc
|
||||||
return SoulsDirectoryMarkdownResponse(handle=safe_handle, slug=safe_slug, content=content)
|
return SoulsDirectoryMarkdownResponse(handle=safe_handle, slug=safe_slug, content=content)
|
||||||
|
|
||||||
|
|||||||
@@ -18,4 +18,3 @@ class SoulsDirectoryMarkdownResponse(BaseModel):
|
|||||||
handle: str
|
handle: str
|
||||||
slug: str
|
slug: str
|
||||||
content: str
|
content: str
|
||||||
|
|
||||||
|
|||||||
@@ -26,4 +26,3 @@ def test_search_souls_matches_handle_or_slug() -> None:
|
|||||||
]
|
]
|
||||||
assert search_souls(refs, query="writer", limit=20) == [refs[1]]
|
assert search_souls(refs, query="writer", limit=20) == [refs[1]]
|
||||||
assert search_souls(refs, query="thedaviddias", limit=20) == [refs[0], refs[1]]
|
assert search_souls(refs, query="thedaviddias", limit=20) == [refs[0], refs[1]]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user