Ruff treats pass
and ...
differently for
#12799
Labels
documentation
Improvements or additions to documentation
pass
and ...
differently for
#12799
Ruff version:
ruff 0.5.7
I searched for "pass", "...", "blank-line-between-methods", and "E301" but found nothing.
The example at blank-line-between-methods (E301) shows insertion of blank lines between methods of a class.
With
--preview
andE301
enabled, missing blank lines are detected and fixed.If, instead of
pass
, you use...
, then the missing blank between methods is not detected or corrected. There is a mention in the doc about the rule not enabled in.pyi
files; this isn't one of those.Becomes:
Becomes:
The text was updated successfully, but these errors were encountered: