flake8-class-attributes-order
flake8-class-attributes-order copied to clipboard
Ellipsis as pass
Hi!
Can we use ellipsis operator as pass to cover dummy classes like:
class Foo:
...
?
For those who prefer to use it over pass
. I didn't find any clarification whether pass
or ...
is recommended.
We can just slightly change logic in ast.Expr
handling to distinguish ast.Ellipsis
as pass
. Of course to be more strict we can add config var like pass_attribute=pass|...
, but imho this is not about this plugin.
Thanks for the issue.
For me pass
is ok, but ...
is not ok, so I don't like the idea of allowing both of them.
Option with pass_attribute
seems nice.