From 57370874364295e7fa2750ab9a8ca25da6eda1cc Mon Sep 17 00:00:00 2001 From: Sandro Eiler Date: Thu, 28 Dec 2023 22:38:29 +0100 Subject: [PATCH] build: add sqlfluff to pre-commit --- .pre-commit-config.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d33f7c1..76a5fb5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,8 +1,13 @@ repos: -- hooks: +- repo: https://github.com/commitizen-tools/commitizen + rev: v3.13.0 + hooks: - id: commitizen - id: commitizen-branch stages: - push - repo: https://github.com/commitizen-tools/commitizen - rev: v3.13.0 +- repo: https://github.com/sqlfluff/sqlfluff + rev: 3.0.0a4 + hooks: + - id: sqlfluff-lint + args: [--dialect, "postgres"]