mirror of https://github.com/astral-sh/ruff
## 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 | ||