mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 22:01:47 +00:00
![]() ## Summary Resolves #16895. `abstractmethod` is now a `KnownFunction`. When a function is decorated by `abstractmethod` or when the parent class inherits directly from `Protocol`, `invalid-return-type` won't be emitted for that function. ## Test Plan Markdown tests. --------- Co-authored-by: Carl Meyer <carl@oddbird.net> |
||
---|---|---|
.. | ||
parameters.md | ||
return_type.md |