Skip to content

Commit f00495d

Browse files
committed
internal/run(refactor[typing]): Narrow log adapter return type
why: process() always returns the input message string. what: - Type CmdLoggingAdapter.process return as tuple[str, ...]
1 parent a6255f3 commit f00495d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libvcs/_internal/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def process(
7575
self,
7676
msg: str,
7777
kwargs: MutableMapping[str, t.Any],
78-
) -> tuple[t.Any, MutableMapping[str, t.Any]]:
78+
) -> tuple[str, MutableMapping[str, t.Any]]:
7979
"""Add additional context information for loggers."""
8080
prefixed_dict = {}
8181
prefixed_dict["bin_name"] = self.bin_name

0 commit comments

Comments
 (0)