mypy: Improve typing of bots & API; enforce no_implicit_optional.
This commit is contained in:
parent
7dc0703397
commit
55aff6f64b
5 changed files with 10 additions and 7 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue