Basic sql and linting

This commit is contained in:
2026-05-07 20:21:48 -07:00
commit 9fae4e8349
8 changed files with 76 additions and 0 deletions

8
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,8 @@
repos:
- repo: https://github.com/sqlfluff/sqlfluff
rev: 3.0.7 # Use the latest stable version
hooks:
- id: sqlfluff-lint
args: [--dialect, postgres]
# Only run on files in the db/ directory ending in .sql
files: ^collector/db/.*\.sql$