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
Use a typevar style mypy annotation on cache_with_key #1348
Currently, our mypy checking of UserProfile objects is very limited, because cache_with_key has an ignore annotation. The cache_with_key decorator is applied to dozens of functions, many of which are called hundreds of times, so I think we can substantially increase the actual coverage of our mypy usage by fixing the cache_with_key annotation.
@neiljp if you're interested in doing a bit of fancy mypy work, this would be super valuable to fix, since it'd dramatically increase the practical mypy coverage of Zulip (aka it'll get rid of a lot of things that are Any).
Activity
timabbott commentedon Oct 20, 2017
@neiljp if you're interested in doing a bit of fancy mypy work, this would be super valuable to fix, since it'd dramatically increase the practical mypy coverage of Zulip (aka it'll get rid of a lot of things that are
Any).neiljp commentedon Oct 24, 2017
@zulipbot claim