build: add sqlfluff to pre-commit

This commit is contained in:
Sandro Eiler 2023-12-28 22:38:29 +01:00
parent 92243bfc2d
commit 5737087436

View file

@ -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"]