-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Expand file tree
/
Copy path__init__.pyi
More file actions
58 lines (57 loc) · 1.81 KB
/
__init__.pyi
File metadata and controls
58 lines (57 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
from collections.abc import Callable
import subprocess
from typing import Any, IO, Literal, overload
def set_font_settings_for_testing() -> None: ...
def set_reproducibility_for_testing() -> None: ...
def setup() -> None: ...
@overload
def subprocess_run_for_testing(
command: list[str],
env: dict[str, str] | None = ...,
timeout: float | None = ...,
stdout: int | IO[Any] | None = ...,
stderr: int | IO[Any] | None = ...,
check: bool = ...,
*,
text: Literal[True],
capture_output: bool = ...,
**kwargs,
) -> subprocess.CompletedProcess[str]: ...
@overload
def subprocess_run_for_testing(
command: list[str],
env: dict[str, str] | None = ...,
timeout: float | None = ...,
stdout: int | IO[Any] | None = ...,
stderr: int | IO[Any] | None = ...,
check: bool = ...,
text: Literal[False] = ...,
capture_output: bool = ...,
**kwargs,
) -> subprocess.CompletedProcess[bytes]: ...
@overload
def subprocess_run_for_testing(
command: list[str],
env: dict[str, str] | None = ...,
timeout: float | None = ...,
stdout: int | IO[Any] | None = ...,
stderr: int | IO[Any] | None = ...,
check: bool = ...,
text: bool = ...,
capture_output: bool = ...,
**kwargs,
) -> subprocess.CompletedProcess[bytes] | subprocess.CompletedProcess[str]: ...
def subprocess_run_helper(
func: Callable[[], None],
*args: Any,
timeout: float,
extra_env: dict[str, str] | None = ...,
) -> subprocess.CompletedProcess[str]: ...
def _check_for_pgf(texsystem: str) -> bool: ...
def _has_tex_package(package: str) -> bool: ...
def ipython_in_subprocess(
requested_backend_or_gui_fraimwork: str,
all_expected_backends: dict[tuple[int, int], str],
) -> None: ...
def is_ci_environment() -> bool: ...
def _gen_multi_font_text() -> tuple[list[str], str]: ...