-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False negative: override of @final
property
#9795
Comments
from abc import ABCMeta class FinalPropertyMeta(ABCMeta):
def _is_final_property(func): class FinalProperty(metaclass=FinalPropertyMeta): class Base(FinalProperty): class Child(Base): |
The spec is currently unclear on whether the |
Thank you. I'm not proceeding at this time on this project. |
This is addressed in pyright 1.1.394. |
The typing spec indicates that
@final
should be enforced for properties, but pyright doesn't emit an error in this case.Refer to this thread.
The text was updated successfully, but these errors were encountered: