Yelp / bravado-core

Other
109 stars 98 forks source link

Add type annotations to is_list_like, is_dict_like, is_ref #356

Closed sjaensch closed 4 years ago

sjaensch commented 4 years ago

is_list_like is called by bravado-asyncio, and is the last call it makes that is untyped. Typing it means we can enable disallow_untyped_calls in its mpy config.

I'm typing the other two is_* functions as well while I'm at it.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.1%) to 98.896% when pulling e29228e7609a3ab7d8459d8e7627f5b1286f5fe9 on sjaensch:add-typing-to-is-list-like into e5152e204a9c720b6279fa13e63077461fe3b099 on Yelp:master.

sjaensch commented 4 years ago

Included in version 5.15.0.