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:
|
||||
- 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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue