ruff
b4419c34 - Ignore `@override` method when enforcing `bad-dunder-name` rule (#7224)

Commit
2 years ago
Ignore `@override` method when enforcing `bad-dunder-name` rule (#7224) ## Summary Closes #6958. If a method has the `override` decorator, there is nothing you can do about incorrect dunder methods, so they should be ignored. ## Test Plan Overridden incorrect dunder method was added to the tests to verify ruff doesn't catch it when evaluating the file. Snapshot changes are all just line number changes
Author
Parents
Loading