You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we use ellipsis operator as pass to cover dummy classes like:
classFoo:
...
?
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.
The text was updated successfully, but these errors were encountered:
Hi!
Can we use ellipsis operator as pass to cover dummy classes like:
?
For those who prefer to use it over
pass
. I didn't find any clarification whetherpass
or...
is recommended.We can just slightly change logic in
ast.Expr
handling to distinguishast.Ellipsis
aspass
. Of course to be more strict we can add config var likepass_attribute=pass|...
, but imho this is not about this plugin.The text was updated successfully, but these errors were encountered: