Skip to content

Commit

Permalink
subprocess: Add new defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed May 6, 2024
1 parent f29f456 commit 7b16acf
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/libvcs/_internal/subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,11 +435,11 @@ def run(
self,
universal_newlines: Optional[bool] = ...,
*,
capture_output: bool = ...,
check: bool = ...,
capture_output: bool = False,
check: bool = False,
encoding: Optional[str] = ...,
errors: Optional[str] = ...,
input: Optional["_InputString"] = ...,
input: Optional["_InputString"] = None,
text: Literal[True],
) -> subprocess.CompletedProcess[str]: ...

Expand All @@ -448,11 +448,11 @@ def run(
self,
universal_newlines: Optional[bool] = ...,
*,
capture_output: bool = ...,
check: bool = ...,
capture_output: bool = False,
check: bool = False,
encoding: str,
errors: Optional[str] = ...,
input: Optional["_InputString"] = ...,
input: Optional["_InputString"] = None,
text: Optional[bool] = ...,
) -> subprocess.CompletedProcess[str]: ...

Expand All @@ -461,11 +461,11 @@ def run(
self,
universal_newlines: Optional[bool] = ...,
*,
capture_output: bool = ...,
check: bool = ...,
capture_output: bool = False,
check: bool = False,
encoding: Optional[str] = ...,
errors: str,
input: Optional["_InputString"] = ...,
input: Optional["_InputString"] = None,
text: Optional[bool] = ...,
) -> subprocess.CompletedProcess[str]: ...

Expand All @@ -475,11 +475,11 @@ def run(
*,
universal_newlines: Literal[True],
# where the *real* keyword only args start
capture_output: bool = ...,
check: bool = ...,
capture_output: bool = False,
check: bool = False,
encoding: Optional[str] = ...,
errors: Optional[str] = ...,
input: Optional["_InputString"] = ...,
input: Optional["_InputString"] = None,
text: Optional[bool] = ...,
) -> subprocess.CompletedProcess[str]: ...

Expand All @@ -488,11 +488,11 @@ def run(
self,
universal_newlines: Literal[False, None] = ...,
*,
capture_output: bool = ...,
check: bool = ...,
capture_output: bool = False,
check: bool = False,
encoding: None = ...,
errors: None = ...,
input: Optional["ReadableBuffer"] = ...,
input: Optional["ReadableBuffer"] = None,
text: Literal[None, False] = ...,
) -> subprocess.CompletedProcess[bytes]: ...

Expand Down

0 comments on commit 7b16acf

Please sign in to comment.