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
{{ message }}
Repository navigation
@retry decorator makes function untyped according to mypy #5786
Using mypy 0.910's --strict mode, using the retry's module's @retry decorator will mark a function as untyped. I installed the decorator module and that's still the case.
This was likely #5751, which should not be an issue with newer releases of mypy. If there's something typeshed can do to fix this, leave a comment and reopen.
Activity
hauntsaninja commentedon Jul 15, 2021
I think this might actually be the same thing as #5751
gitpushdashf commentedon Jul 15, 2021
Interesting, thank you.
One other option for some may be to use tenacity instead of retry: https://github.com/jd/tenacity#tenacity
It's already typed and mostly compatible. retry isn't maintained anymore.
JelleZijlstra commentedon Apr 17, 2022
This was likely #5751, which should not be an issue with newer releases of mypy. If there's something typeshed can do to fix this, leave a comment and reopen.