-
Notifications
You must be signed in to change notification settings - Fork 5
/
.pre-commit-config.yaml
40 lines (40 loc) · 1017 Bytes
/
.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
repos:
- hooks:
- id: check-hooks-apply
- id: check-useless-excludes
repo: meta
- hooks:
- id: trailing-whitespace
- exclude: |-
(^VERSION|.*\.hashedPassword)$
id: end-of-file-fixer
- files: ^.pre-commit-config.yaml$
id: check-yaml
name: Check pre-commit config
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
- hooks:
- entry: nix fmt
id: treefmt
language: system
name: Format code with treefmt
- description: Use Biber to format .bib files
entry: scripts/format-biber.sh
files: '.+\.bib$'
id: biber-format
language: script
name: Format .bib files
- always_run: true
description: Ensure Noweb sources are up to date
entry: make srcs
id: make-srcs
language: system
name: make srcs
- always_run: true
description: Ensure conformance to .editorconfig
entry: editorconfig-checker
id: editorconfig-checker
language: system
name: editorconfig-checker
pass_filenames: false
repo: local