Fixup the boto stubs to allow mypy --strict. (#2032)

This commit is contained in:
Matt Gilson
2018-04-08 15:41:04 -04:00
committed by Jelle Zijlstra
parent 8482b1030b
commit a994c47198

View File

@@ -1,10 +1,17 @@
import sys
from typing import Any
from base64 import encodestring as encodebytes
from six.moves import http_client
expanduser = ... # type: Any
StandardError = ... # type: Any
if sys.version_info >= (3, 0):
StandardError = Exception
else:
StandardError = __builtins__.StandardError
long_type = ... # type: Any
unquote_str = ... # type: Any
parse_qs_safe = ... # type: Any