-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
33 lines (33 loc) · 1.05 KB
/
.pre-commit-config.yaml
File metadata and controls
33 lines (33 loc) · 1.05 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
ci:
autofix_commit_msg: "style: auto fixes from pre-commit.ci hooks"
autofix_prs: false
autoupdate_commit_msg: "chore(deps): pre-commit.ci autoupdate"
skip:
- ruff
default_stages:
- pre-commit
repos:
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
additional_dependencies:
- tomli
args: ["--skip=*.ipynb,**/node_modules/**,**/package-lock.json", "--ignore-words-list=hastable,notin"]
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.11.13
hooks:
# Run the linter.
- id: ruff
args: ["--output-format=full", "--fix", "src", "src/boring_semantic_layer/tests"]
# Run the formatter.
- id: ruff-format
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.7.13
hooks:
# Update the uv lockfile
- id: uv-lock
- id: uv-export
args: ["--frozen", "--no-hashes", "--no-emit-project", "--all-groups", "--all-extras", "--output-file=requirements-dev.txt"]