-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
33 lines (33 loc) · 945 Bytes
/
.pre-commit-config.yaml
File metadata and controls
33 lines (33 loc) · 945 Bytes
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
default_install_hook_types: [pre-push, pre-commit]
default_stages:
- "push"
repos:
- repo: local
hooks:
- id: lint
name: Lint Code
entry: "just lint"
language: system
pass_filenames: false
- id: spell-check
name: Spell Checking Docs
entry: "just spellcheck"
language: system
pass_filenames: false
- id: lint-commit
name: Lint Commits
entry: "just lint-commit"
language: system
pass_filenames: false
- id: uv-check
name: uv lock Consistency
entry: "uv sync --frozen"
language: system
pass_filenames: false
- id: format-code
name: Format Code
entry: "just format"
language: system
files: .*\.py$
stages:
- "commit"