mypy: Improve typing of bots & API; enforce no_implicit_optional.

This commit is contained in:
neiljp (Neil Pilgrim) 2018-03-30 23:21:11 -07:00 committed by showell
parent 7dc0703397
commit 55aff6f64b
5 changed files with 10 additions and 7 deletions

View file

@ -286,7 +286,7 @@ class Client(object):
site=None, client=None,
cert_bundle=None, insecure=None,
client_cert=None, client_cert_key=None):
# type: (Optional[str], Optional[str], Optional[str], bool, bool, Optional[str], Optional[str], Optional[str], bool, Optional[str], Optional[str]) -> None
# type: (Optional[str], Optional[str], Optional[str], bool, bool, Optional[str], Optional[str], Optional[str], Optional[bool], Optional[str], Optional[str]) -> None
if client is None:
client = _default_client()