-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
55 lines (55 loc) · 1.42 KB
/
.pre-commit-config.yaml
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
48
49
50
51
52
53
54
55
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-byte-order-marker
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: mixed-line-ending
- id: pretty-format-json
exclude: ^.vscode/.*\.json$
- id: trailing-whitespace
- repo: local
hooks:
- id: just
entry: just --fmt --unstable
files: |
(?x)^(
.justfile|
justfile
)$
language: system
name: just
pass_filenames: false
- repo: https://github.com/jazzband/pip-tools
rev: 7.4.0
hooks:
- id: pip-compile
name: pip-compile requirements.in
args:
- --allow-unsafe
- --generate-hashes
- --reuse-hashes
- requirements.in
files: ^requirements\.(in|txt)$
- id: pip-compile
name: pip-compile requirements-dev.in
args:
- --allow-unsafe
- --generate-hashes
- --reuse-hashes
- requirements-dev.in
files: ^requirements-dev\.(in|txt)$
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.2
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.35.1
hooks:
- id: yamllint