build: add sqlfluff to pre-commit
This commit is contained in:
parent
92243bfc2d
commit
5737087436
1 changed files with 8 additions and 3 deletions
|
|
@ -1,8 +1,13 @@
|
||||||
repos:
|
repos:
|
||||||
- hooks:
|
- repo: https://github.com/commitizen-tools/commitizen
|
||||||
|
rev: v3.13.0
|
||||||
|
hooks:
|
||||||
- id: commitizen
|
- id: commitizen
|
||||||
- id: commitizen-branch
|
- id: commitizen-branch
|
||||||
stages:
|
stages:
|
||||||
- push
|
- push
|
||||||
repo: https://github.com/commitizen-tools/commitizen
|
- repo: https://github.com/sqlfluff/sqlfluff
|
||||||
rev: v3.13.0
|
rev: 3.0.0a4
|
||||||
|
hooks:
|
||||||
|
- id: sqlfluff-lint
|
||||||
|
args: [--dialect, "postgres"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue