-
-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
I am have installed sqlfmt and sqlfluff in my python project and both work well. The problem is now that the sqlfluff linting has troubles to accept the sqlfmt formatting style. I already have added the configuration on sqlfluff but there is one issue that sqlfmt always puts smaller queries on a single line and sqlfluff wants to have the where keyword on the next line.
I was looking into the documentation but I couldn't find anything related to linebreaks except the -l parameter. Is there a way to always break lines even if the query is small.
Examples::
select * from source where col is not null
but sqlfluff wants:
select *
from source
where col is not null
Metadata
Metadata
Assignees
Labels
No labels