Use variable annotations everywhere (#2909)

This commit is contained in:
Michael Lee
2019-04-13 01:40:52 -07:00
committed by Sebastian Rittau
parent b3c76aab49
commit efb67946f8
458 changed files with 9135 additions and 9135 deletions

View File

@@ -5,7 +5,7 @@ from abc import abstractmethod
from distutils.dist import Distribution
class Command:
sub_commands = ... # type: List[Tuple[str, Union[Callable[[], bool], str, None]]]
sub_commands: List[Tuple[str, Union[Callable[[], bool], str, None]]]
def __init__(self, dist: Distribution) -> None: ...
@abstractmethod
def initialize_options(self) -> None: ...

View File

@@ -1,3 +1,3 @@
# Stubs for distutils.debug
DEBUG = ... # type: bool
DEBUG: bool

View File

@@ -3,8 +3,8 @@
from typing import Mapping, Optional, Union
from distutils.ccompiler import CCompiler
PREFIX = ... # type: str
EXEC_PREFIX = ... # type: str
PREFIX: str
EXEC_PREFIX: str
def get_config_var(name: str) -> Union[int, str, None]: ...
def get_config_vars(*args: str) -> Mapping[str, Union[int, str]]: ...