mirror of https://github.com/astral-sh/ruff
## Summary This PR adds special-casing for `@final` and `@override` decorator for a similar reason as https://github.com/astral-sh/ruff/pull/17591 to support the invalid overload check. Both `final` and `override` are identity functions which can be removed once `TypeVar` support is added. |
||
|---|---|---|
| .. | ||
| bad.txt | ||
| good.txt | ||