-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
56 lines (49 loc) · 1.47 KB
/
.pre-commit-config.yaml
File metadata and controls
56 lines (49 loc) · 1.47 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-toml
- id: check-yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.10
hooks:
- id: ruff-check
- id: ruff-format
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.38.0
hooks:
- id: yamllint
args: [-d, "{rules: {document-start: disable}}"]
- repo: https://github.com/tconbeer/sqlfmt
rev: v0.29.0
hooks:
- id: sqlfmt
language_version: python
additional_dependencies: [".[jinjafmt]"]
- repo: https://github.com/sqlfluff/sqlfluff
rev: 4.1.0
hooks:
- id: sqlfluff-fix
additional_dependencies:
["dbt-duckdb", "sqlfluff-templater-dbt", "deltalake[pyarrow]"]
entry: bash -c 'cd dbt && sqlfluff fix --dialect duckdb'
- id: sqlfluff-lint
additional_dependencies:
["dbt-duckdb", "sqlfluff-templater-dbt", "deltalake[pyarrow]"]
entry: bash -c 'cd dbt && sqlfluff lint --dialect duckdb'
- repo: https://github.com/facebook/pyrefly-pre-commit
rev: 0.60.0
hooks:
- id: pyrefly-check
pass_filenames: false
language: system
- repo: https://github.com/rvben/rumdl-pre-commit
rev: v0.1.68
hooks:
- id: rumdl-fmt
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.11.6
hooks:
- id: uv-lock