Replies: 1 comment 2 replies
-
The example that you shared isn't valid but I suspect you meant query = (
select(DocumentsFiles.files_id)
.where(DocumentsFiles.files_id.isnot(None))
.order_by(desc(DocumentsFiles.id))
) Ruff does keep the above formatting if putting the entire chain on a single line exceeds the configured line length. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm finding that ruff currently condenses multiline chained statements, which can negatively impact readability in the following case:
formats to:
Beta Was this translation helpful? Give feedback.
All reactions