Skip to content
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

Ignore methods decorated by @typing.override #217

Merged
merged 1 commit into from
May 6, 2023

Conversation

jparise
Copy link
Member

@jparise jparise commented May 6, 2023

PEP 698 introduces the @typing.override decorator which indicates a method overrides a base class method. It's nice to skip naming checks in this case because the user don't have any control over the name used by the subclass.

Fixes #215

PEP 0698 introduces the `@typing.override` decorator which indicates a
method overrides a base class method. It's nice to skip naming checks in
this case because the user don't have any control over the name used by
the subclass.
@jparise jparise requested a review from sigmavirus24 May 6, 2023 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: ignore N802 for methods marked with @override
2 participants