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

@@ -4,23 +4,7 @@ import sys
_Str = Union[bytes, str]
__all__ = (
'urlparse',
'urlunparse',
'urljoin',
'urldefrag',
'urlsplit',
'urlunsplit',
'urlencode',
'parse_qs',
'parse_qsl',
'quote',
'quote_plus',
'quote_from_bytes',
'unquote',
'unquote_plus',
'unquote_to_bytes'
)
__all__ = ... # type: Tuple[str]
uses_relative = ... # type: List[str]
uses_netloc = ... # type: List[str]