Skip to content

Commit aef332a

Browse files
authored
Break long sentences in docstrings
1 parent ffa3101 commit aef332a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pylsp/server/protocol.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ async def call_hook(
111111
Args:
112112
hook_name (str): The name of the hook to call.
113113
doc_uri (str | None): The document URI to pass to the hook.
114-
work_done_token (ProgressToken | None): The progress token to use for reporting progress.
114+
work_done_token (ProgressToken | None): The progress token to use for
115+
reporting progress.
115116
**kwargs: Additional keyword arguments to pass to the hook.
116117
"""
117118
if doc_uri:

pylsp/server/workspace.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ def get_document_folder(self, doc_uri: str) -> WorkspaceFolder | None:
3939
doc_uri (str): The document URI.
4040
4141
Returns:
42-
WorkspaceFolder | None: The workspace folder containing the document, or None if not found.
42+
WorkspaceFolder | None: The workspace folder containing the document, or
43+
None if not found.
4344
"""
4445
best_match_len = float("inf")
4546
best_match = None

0 commit comments

Comments
 (0)