-
|
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 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:: but sqlfluff wants: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
You can configure sqlfluff to exclude/ignore the violated rules, which I think are all Or you can add a single (empty) comment to force a line break in sqlfmt: select * --
from source
where col is not null |
Beta Was this translation helpful? Give feedback.
You can configure sqlfluff to exclude/ignore the violated rules, which I think are all
layout.type:Or you can add a single (empty) comment to force a line break in sqlfmt: