forked from dbt-labs/jaffle-sl-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
34 lines (34 loc) · 1 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: requirements-txt-fixer
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.245
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.34.0
hooks:
- id: eslint
- repo: https://github.com/sqlfluff/sqlfluff
rev: "2.0.0a4"
hooks:
- id: sqlfluff-lint
additional_dependencies:
["dbt-duckdb==1.4.0", "sqlfluff-templater-dbt==2.0.0a4"]
- id: sqlfluff-fix
additional_dependencies:
["dbt-duckdb==1.4.0", "sqlfluff-templater-dbt==2.0.0a4"]
- repo: https://github.com/psf/black
rev: "23.1.0"
hooks:
- id: black
# - repo: https://github.com/pre-commit/mirrors-prettier
# rev: "" # Use the sha or tag you want to point at
# hooks:
# - id: prettier