massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stdlib / distutils / command / check.pyi
1 from typing import Any
2
3 from ..cmd import Command
4
5 _Reporter = Any  # really docutils.utils.Reporter
6
7 # Only defined if docutils is installed.
8 class SilentReporter(_Reporter):  # type: ignore
9     messages: Any
10     def __init__(
11         self,
12         source,
13         report_level,
14         halt_level,
15         stream: Any | None = ...,
16         debug: int = ...,
17         encoding: str = ...,
18         error_handler: str = ...,
19     ) -> None: ...
20     def system_message(self, level, message, *children, **kwargs): ...
21
22 HAS_DOCUTILS: bool
23
24 class check(Command):
25     description: str
26     user_options: Any
27     boolean_options: Any
28     restructuredtext: int
29     metadata: int
30     strict: int
31     def initialize_options(self) -> None: ...
32     def finalize_options(self) -> None: ...
33     def warn(self, msg): ...
34     def run(self) -> None: ...
35     def check_metadata(self) -> None: ...
36     def check_restructuredtext(self) -> None: ...