summarylogtreecommitdiffstats
path: root/.pre-commit-config.yaml
blob: 66b2eafbfd4b968a0518e189e58431a42ab9c83d (plain)
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
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c  # frozen: v6.0.0
    hooks:
      - id: check-added-large-files
        args:
          - --maxkb=100
          - --enforce-all
      - id: check-merge-conflict
        args:
          - --assume-in-merge
      - id: check-symlinks
      - id: check-toml
      - id: check-yaml
      - id: destroyed-symlinks
      - id: detect-private-key
      - id: end-of-file-fixer
      - id: fix-byte-order-marker
      - id: forbid-submodules
      - id: mixed-line-ending
        args:
          - --fix=lf
      - id: trailing-whitespace
  - repo: https://github.com/pre-commit/pygrep-hooks
    rev: 3a6eb0fadf60b3cccfd80bad9dbb6fae7e47b316  # frozen: v1.10.0
    hooks:
      - id: text-unicode-replacement-char
  - repo: https://github.com/shellcheck-py/shellcheck-py
    rev: 745eface02aef23e168a8afb6b5737818efbea95  # frozen: v0.11.0.1
    hooks:
      - id: shellcheck
        types: [file]
        types_or: [shell, bash]
  - repo: https://opendev.org/openstack/bashate
    rev: 5798d24d571676fc407e81df574c1ef57b520f23  # frozen: 2.1.1
    hooks:
      - id: bashate
        types: [file]
        types_or: [shell, bash]
        args:
          - --ignore=E005,E006
  - repo: https://gitlab.archlinux.org/freso/archlinux-pre-commit
    rev: 60333d4d7d738c3237006ed4e890a99523aa0124
    hooks:
      - id: namcap
      - id: makepkg-update-srcinfo