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
I searched the issues and found no similar issues.
Description
Hi. I found that it will be useful for some automatization.
Since we can already write to a file using sqlfluff lint, we can use it with a diff-quality tool. I want to be able to run sqlfluff fix for only changed files.
Right now it is not possible/I didn't find anything useful except just looping through the file parsing it and running sqlfluff fix for each file there.
Use case
I want to be able to point to a file generated by sqlfluff lint when I run sqlfluff fix to fix only a specific set of files.
In the current example, together with diff-quality that gives me linting for only changed files.
Dialect
I don't think this is a dialect thing, but I am using the snowflake dialect.
Are you willing to work on and submit a PR to address the issue?
Search before asking
Description
Hi. I found that it will be useful for some automatization.
Since we can already write to a file using sqlfluff lint, we can use it with a diff-quality tool. I want to be able to run sqlfluff fix for only changed files.
Right now it is not possible/I didn't find anything useful except just looping through the file parsing it and running sqlfluff fix for each file there.
Use case
I want to be able to point to a file generated by sqlfluff lint when I run sqlfluff fix to fix only a specific set of files.
In the current example, together with diff-quality that gives me linting for only changed files.
Dialect
I don't think this is a dialect thing, but I am using the snowflake dialect.
Are you willing to work on and submit a PR to address the issue?
Code of Conduct
The text was updated successfully, but these errors were encountered: