trim pytype testing blacklist (#527)

This commit is contained in:
Matthias Kramm
2016-09-09 06:30:36 -07:00
committed by GitHub
parent a257166149
commit e70be5fbe2
2 changed files with 9 additions and 16 deletions

View File

@@ -36,14 +36,15 @@ def readPlist(pathOrFile: Union[_Path, IO[bytes]]) -> DictT[str, Any]: ...
def writePlist(value: Mapping[str, Any], pathOrFile: Union[_Path, IO[bytes]]) -> None: ...
def readPlistFromBytes(data: bytes) -> DictT[str, Any]: ...
def writePlistToBytes(value: Mapping[str, Any]) -> bytes: ...
if sys.version_info < (3,) and sys.platform == 'darwin':
def readPlistFromResource(path: _Path, restype: str = ...,
resid: int = ...) -> DictT[str, Any]: ...
def writePlistToResource(rootObject: Mapping[str, Any], path: _Path,
restype: str = ...,
resid: int = ...) -> None: ...
def readPlistFromString(data: str) -> DictT[str, Any]: ...
def writePlistToString(rootObject: Mapping[str, Any]) -> str: ...
if sys.version_info < (3,):
if sys.platform == 'darwin':
def readPlistFromResource(path: _Path, restype: str = ...,
resid: int = ...) -> DictT[str, Any]: ...
def writePlistToResource(rootObject: Mapping[str, Any], path: _Path,
restype: str = ...,
resid: int = ...) -> None: ...
def readPlistFromString(data: str) -> DictT[str, Any]: ...
def writePlistToString(rootObject: Mapping[str, Any]) -> str: ...
if sys.version_info >= (3,):
class Dict(dict):

View File

@@ -1,18 +1,10 @@
# Pytype blacklist. Files will not be tested with pytype.
2.7/__builtin__.pyi
2.7/StringIO.pyi
2.7/builtins.pyi
2.7/codecs.pyi
2.7/inspect.pyi
2.7/pydoc.pyi
2.7/types.pyi
2.7/typing.pyi
2.7/xml/dom/minidom.pyi
2and3/argparse.pyi
2and3/logging/handlers.pyi
2and3/logging/__init__.pyi
2and3/mmap.pyi
2and3/plistlib.pyi
2and3/tarfile.pyi
2and3/webbrowser.pyi