The returns plugin for functools.partial is great as far as it goes. Could that be adapted to support functools.partialmethod, too? This feature could resolve these issues: python/mypy#8619 python/mypy#1484