-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
45 lines (45 loc) · 1.29 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
args: ['--maxkb=1024']
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-symlinks
- id: check-toml
- id: check-vcs-permalinks
- id: check-xml
- id: check-yaml
- id: check-merge-conflict
- id: detect-private-key
- id: mixed-line-ending
- id: name-tests-test
- id: no-commit-to-branch
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.0
hooks:
- id: ruff
- id: ruff-format
args: ['--check']
- repo: local
hooks:
- id: generate-summary.sh
name: generate-summary.sh
language: system
entry: ./generate-summary.sh
exclude: ^test|^web|^README|^\.git
pass_filenames: false
types: [file]
stages: [pre-commit, pre-merge-commit]
require_serial: true
- id: find-duplicates.sh
name: find-duplicates.sh asl/*.deck
language: system
entry: ./find-duplicates.sh asl/*.deck
files: asl/.*\.deck
pass_filenames: false
types: [file]
stages: [pre-commit, pre-merge-commit]
require_serial: true