Closed twm closed 2 months ago
It looks like the type annotations introduced in twisted/twisted#12045 are causing MyPy checks to fail:
src/treq/client.py:258:58: error: Argument 2 to "CookieAgent" has incompatible type "Union[CookieJar, Mapping[str, str], None]"; expected "CookieJar" [arg-type]
Thanks for the report... maybe we can run some mypy test on treq trunk, as part of twisted/twisted CI ?
I hope that this will avoid such errors.
Maybe another reason to merge twisted/treq into twisted/twisted :p
It looks like the type annotations introduced in twisted/twisted#12045 are causing MyPy checks to fail: