-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add checker for unnecessary ellipsis #5460
Comments
If we implement this the documentation should specify that it's not required when using black. |
@Pierre-Sassoulas. Thank you for checking this. I don't understand the above comment about how it relates to black, perhaps I am missing something obvious here. Thanks! |
Ho sorry I made a mistake and it was not very clear. We have a section in the doc where we tell user what message can be disabled when using other linter. I thought black removed unnecessary ellipsis when in fact it does not: I just checked. So this is useful even when using black. |
My confusion come from the fact that autoflake is removing unecessary |
Current problem
Add a checker for unnecessary ellipsis.
Desired solution
Emit a warning for this scenario, similar to when a docstring is immediately followed by
pass
.Additional context
No response
The text was updated successfully, but these errors were encountered: