You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
any idea why disallow_untyped_decorators did not raise on our side?
It looks like that check has been disabled in this project's mypy.ini. I can work on merging our stubs with the implementation and removing some of the disabled warnings.
Environment
responses==0.17.0
mypy==0.931
Python 3.8.12
disallow_untyped_decorators = True
inmypy.ini
Steps to Reproduce
After upgrade to
responses==0.17.0
, reranmypy
with settings unchanged from before.Expected Result
mypy
passes as happened withresponses==0.16.0
Actual Result
Every instance of
@responses.activate
throws up:The issue seems to be related to the change here where the type hint for
activate
was changed from a callback protocol toAny
.The text was updated successfully, but these errors were encountered: