summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: dbad088d7d39e6e98f2ef771793997737b481ef0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
repos:
    -   repo: https://github.com/pre-commit/mirrors-clang-format
        rev: 'v15.0.4'
        hooks:
        -   id: clang-format
            # tif_fax3sm.c is a generated file
            # tiffvers.h as well, and its formatting is sensitive for
            # FindTIFF.cmake to detect the version number
            exclude: >
              (?x)^(
                libtiff/tif_fax3sm.c|
                libtiff/tiffvers.h
              )