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
Black only formats one empty line between top level items in stub files (.pyi), while it uses two empty lines in regular python files. When single line classes, method and functions of the same kind that are stubbed out with ellipses follow each they don't get any empty lines.
Black only formats one empty line between top level items in stub files (.pyi), while it uses two empty lines in regular python files. When single line classes, method and functions of the same kind that are stubbed out with ellipses follow each they don't get any empty lines.
scratch.py
scratch.pyi
The relevant code is below, which doesn't have access to whether it's in a stub file or not yet.
ruff/crates/ruff_python_formatter/src/statement/suite.rs
Line 72 in f5f8eb3
The text was updated successfully, but these errors were encountered: