Add missing items for distutils.command.* (#5773)

This was mostly generated by running stubgen. Existing annotations were
kept, but converted to use PEP 604 and PEP 585.
This commit is contained in:
Sebastian Rittau
2021-07-24 23:04:17 +02:00
committed by GitHub
parent 2b4bbec0d7
commit 2410c4f751
24 changed files with 627 additions and 70 deletions

View File

@@ -1,6 +1,6 @@
from abc import abstractmethod
from distutils.cmd import Command
from typing import ClassVar, List, Optional, Tuple
from typing import ClassVar
DEFAULT_PYPIRC: str
@@ -9,8 +9,8 @@ class PyPIRCCommand(Command):
DEFAULT_REALM: ClassVar[str]
repository: None
realm: None
user_options: ClassVar[List[Tuple[str, Optional[str], str]]]
boolean_options: ClassVar[List[str]]
user_options: ClassVar[list[tuple[str, str | None, str]]]
boolean_options: ClassVar[list[str]]
def initialize_options(self) -> None: ...
def finalize_options(self) -> None: ...
@abstractmethod