Skip to content

Commit 96b4bf0

Browse files
committed
internal(run): pydocstyle manual fixes
1 parent 97cd823 commit 96b4bf0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/libvcs/_internal/run.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class ProgressCallbackProtocol(Protocol):
8181
"""Callback to report subprocess communication."""
8282

8383
def __call__(self, output: AnyStr, timestamp: datetime.datetime) -> None:
84-
"""Callback signature for subprocess communication."""
84+
"""Process progress for subprocess communication."""
8585
...
8686

8787

@@ -126,7 +126,9 @@ def run(
126126
check_returncode: bool = True,
127127
callback: Optional[ProgressCallbackProtocol] = None,
128128
) -> str:
129-
"""Run 'args' in a shell and return the combined contents of stdout and
129+
"""Run a command.
130+
131+
Run 'args' in a shell and return the combined contents of stdout and
130132
stderr (Blocking). Throws an exception if the command exits non-zero.
131133
132134
Keyword arguments are passthrough to :class:`subprocess.Popen`.

0 commit comments

Comments
 (0)