I appreciate you all are working hard on this. Thanks!
sqlfluff gives a return code of 1 when running fix and finding unfixable linting violations and a return code 0 when there are no unfixable linting violations. It would be great if sqruff could replicate this behavior.
this functionality would be really helpful to me as it would allow me to just use sqruff fix in a pre commit hook instaead of both sqruff fix and sqruff lint. This halves the run time which is useful for large files.
I appreciate you all are working hard on this. Thanks!
sqlfluff gives a return code of 1 when running fix and finding unfixable linting violations and a return code 0 when there are no unfixable linting violations. It would be great if sqruff could replicate this behavior.
this functionality would be really helpful to me as it would allow me to just use
sqruff fix
in a pre commit hook instaead of bothsqruff fix
andsqruff lint
. This halves the run time which is useful for large files.