-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
47 lines (42 loc) · 1.25 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
47 lines (42 loc) · 1.25 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
default_language_version:
python: python3.13
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-yaml
- id: check-json
- id: check-toml
- id: check-added-large-files
args: ["--maxkb=1024"]
- id: check-executables-have-shebangs
- id: check-docstring-first
- id: detect-private-key
- id: debug-statements
- id: check-case-conflict
- id: mixed-line-ending
- id: check-merge-conflict
- id: detect-aws-credentials
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.5
hooks:
- id: ruff
args: ["--fix"]
- id: ruff-format
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
types_or: [python, markdown]
additional_dependencies: [tomli]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.3
hooks:
- id: prettier
types_or: [markdown, yaml, toml, json, dockerfile, shell]
additional_dependencies: ["prettier@3.0.3", "prettier-plugin-sh@0.13.1"]
args: [--print-width=80, --prose-wrap=always]
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.9.2
hooks:
- id: uv-lock