Add type annotations.

This commit is contained in:
Sam Bull committed 2020-12-18 17:58:38 +00:00
1 parent 2247eb72f9
commit b3b5367460
20 files changed
+200 -112

No files matched your search

View File
Whitespace-only changes.
+1 -1
View File
@@ -67,7 +67,7 @@ async def test_identify_broken_scheme(loop, make_token, aiohttp_client):
try:
await policy.identify(request)
except ValueError as exc:
raise web.HTTPBadRequest(reason=exc)
raise web.HTTPBadRequest(reason=str(exc))
return web.Response()