ruff
eeaaa8e9 - [ty] propagate classmethod-ness through decorators returning Callables (#21958)

Commit
15 days ago
[ty] propagate classmethod-ness through decorators returning Callables (#21958) Fixes https://github.com/astral-sh/ty/issues/1787 ## Summary Allow method decorators returning Callables to presumptively propagate "classmethod-ness" in the same way that they already presumptively propagate "function-like-ness". We can't actually be sure that this is the case, based on the decorator's annotations, but (along with other type checkers) we heuristically assume it to be the case for decorators applied via decorator syntax. ## Test Plan Added mdtest.
Author
Parents
Loading