aboutsummaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
blob: aab58f03a3b0f1c23ad35266a771f1c6cef1513a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
repos:
  - repo: "https://github.com/codespell-project/codespell"
    rev: "v2.4.1"
    hooks:
      - id: "codespell"
        args: ["--config=.codespellrc"]
  - repo: "https://github.com/pre-commit/mirrors-clang-format"
    rev: "v21.1.6"
    hooks:
      - id: "clang-format"
        types_or: []
        files: '\.c\.in$|\.h\.in$|\.c$|\.h$'
        args: ["--style=file"]
        exclude: |
            (?x)^(
                  crypto/objects/obj_dat.h|
                  crypto/objects/obj_xref.h|
                  include/openssl/obj_mac.h
                 )$