-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
44 lines (38 loc) · 1.09 KB
/
.pre-commit-config.yaml
File metadata and controls
44 lines (38 loc) · 1.09 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
default_stages: [pre-commit]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: end-of-file-fixer
- id: check-json
- id: check-toml
- id: check-yaml
- id: detect-private-key
- id: trailing-whitespace
- id: check-merge-conflict
- id: check-added-large-files
- id: check-builtin-literals
- id: check-shebang-scripts-are-executable
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.4
hooks:
- id: ruff
name: Ruff check
description: "Run 'ruff check' for extremely fast Python linting"
args: [--fix]
- id: ruff-format
name: Ruff format
description: "Run 'ruff format' for extremely fast Python formatting"
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.5.7
hooks:
- id: uv-lock
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.12.0
hooks:
- id: commitizen
stages: [commit-msg]
- id: commitizen-branch
stages: [pre-push]
ci:
autoupdate_schedule: weekly