-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
41 lines (41 loc) · 1.15 KB
/
.pre-commit-config.yaml
File metadata and controls
41 lines (41 loc) · 1.15 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
# Ideally the rev should match the package version in the environment
repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.2.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
args: [--verbose]
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.9.0
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.13.1
hooks:
- id: ruff-check
name: ruff-isort
args: ["--select", "I", "--fix"]
- id: ruff-check
name: ruff-docformatter
args: ["--select", "D", "--ignore", "D202", "--fix-only", "--fix"]
- repo: https://github.com/crate-ci/typos
rev: v1.43.4
hooks:
- id: typos
- repo: local
hooks:
- id: make-docs
name: make-docs
entry: bash -c 'make docs'
language: system
types: [file]
files: ^(src\/|README\.md$)
- repo: https://github.com/sqlfluff/sqlfluff
rev: 3.4.2
hooks:
# - id: sqlfluff-lint
- id: sqlfluff-fix
default_install_hook_types: [pre-commit, commit-msg]
# default_language_version:
# python: python3.12