summarylogtreecommitdiffstats
path: root/.pre-commit-config.yaml
blob: 4fc8fc89b900aaea6827b247b725e29e79f20ba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v3.1.0
  hooks:
  - id: trailing-whitespace
  - id: end-of-file-fixer
  - id: check-added-large-files
  - id: mixed-line-ending
- repo: local
  hooks:
  - id: makepkg
    name: makepkg
    pass_filenames: false
    always_run: true
    language: system
    entry: >
      sh -c 'make codegen && git add PKGBUILD .SRCINFO'