-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
31 lines (30 loc) · 881 Bytes
/
.pre-commit-config.yaml
File metadata and controls
31 lines (30 loc) · 881 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
exclude: .pre-commit-config.yaml|(.*autogen.*py)
files: (^src/.*py)|(.*yaml)
repos:
- hooks:
- {id: check-added-large-files}
- {id: check-case-conflict}
- {id: check-executables-have-shebangs}
- {id: check-merge-conflict}
- {id: check-symlinks}
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
- hooks:
- args: [--mapping, '2', --sequence, '2', --offset, '0', --width, '150', --preserve-quotes]
id: yamlfmt
repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
rev: 0.2.3
- hooks:
- {id: sort-all}
repo: https://github.com/aio-libs/sort-all
rev: v1.3.0
- hooks:
- args: [--line-length=130]
id: ruff-format
name: ruff-format
- args: [--fix, --select=I, --line-length=130]
id: ruff
name: ruff-lint
repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.10
# sigil 02fbf2b91c16b02e86d63a5ea12cd92b