openlibrary icon indicating copy to clipboard operation
openlibrary copied to clipboard

Fix/10982/add sql linter

Open bettercallok opened this issue 2 weeks ago • 0 comments

Closes #10982 Feature-Adds a sql linter to pre-commit

Technical

Integrated sqlfluff as a pre-commit hook to lint SQL files.

Testing

Create a temporary SQL file with a missing semicolon:

echo "SELECT 1" > test_fail.sql git add test_fail.sql git commit -m "Should fail" Expected Result: The commit is blocked with an error CV06 | Statements must end with a semi-colon.

Stakeholders

@RayBB

bettercallok avatar Dec 11 '25 14:12 bettercallok