ruff/crates/red_knot_python_semantic/resources/primer
Dhruv Manilawala f1a539dac6
[red-knot] Special case @final, @override (#17608)
## 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.
2025-04-25 03:15:23 +05:30
..
bad.txt [red-knot] Special case @final, @override (#17608) 2025-04-25 03:15:23 +05:30
good.txt [red-knot] Special case @final, @override (#17608) 2025-04-25 03:15:23 +05:30