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$