forked from learningequality/ricecooker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
33 lines (33 loc) · 997 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
33 lines (33 loc) · 997 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
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.6
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: trailing-whitespace
exclude: '^tests/testcontent/samples/'
- id: check-yaml
- id: check-added-large-files
exclude: '^tests/(cassettes|testcontent/samples)/'
- id: debug-statements
- id: end-of-file-fixer
exclude: '(^.+?\.json$|^tests/testcontent/samples/)'
- repo: https://github.com/google/yamlfmt
rev: v0.14.0
hooks:
- id: yamlfmt
exclude: '^tests/cassettes'
- repo: https://github.com/rhysd/actionlint
rev: v1.7.7
hooks:
- id: actionlint
# Expects shellcheck to be installed on the system
# https://github.com/koalaman/shellcheck#installing
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.11.2
hooks:
- id: uv-lock