Remove a few files from the pytype blacklist. (#1628)

Fixes the following issues:

* Literals rather than ... for default values
* None rather than ... for default value of typed variable
* Literals rather than ... # type for top level constants
* # Foo rather than # type: Foo
* return value of init not set to None
This commit is contained in:
Martin DeMello
2017-09-27 07:57:13 -07:00
committed by Matthias Kramm
parent d14272a14f
commit d389ef3d85
8 changed files with 29 additions and 58 deletions

View File

@@ -42,8 +42,7 @@ if sys.version_info >= (3, 3):
def header_source_parse(self, sourcelines: List[str]) -> str: ...
def header_store_parse(self, name: str,
value: str) -> Tuple[str, str]: ...
def header_fetch_parse(self, name: str, # type: ignore
value: str) -> Union[str, Header]: ...
def header_fetch_parse(self, name: str, value: str) -> Union[str, Header]: ... # type: ignore
def fold(self, name: str, value: str) -> str: ...
def fold_binary(self, name: str, value: str) -> bytes: ...