| 1 | repos: |
| 2 | - repo: https://github.com/pre-commit/mirrors-clang-format |
| 3 | rev: 'v15.0.4' |
| 4 | hooks: |
| 5 | - id: clang-format |
| 6 | # tif_fax3sm.c is a generated file |
| 7 | # tiffvers.h as well, and its formatting is sensitive for |
| 8 | # FindTIFF.cmake to detect the version number |
| 9 | # Furthermore, the .in files are formatting sensitive for |
| 10 | # cmake functions. |
| 11 | exclude: > |
| 12 | (?x)^( |
| 13 | libtiff/tif_fax3sm.c| |
| 14 | libtiff/tiffvers.h| |
| 15 | libtiff/tiffvers.h.in| |
| 16 | libtiff/tif_config.h| |
| 17 | libtiff/tif_config.h.in| |
| 18 | libtiff/tif_config.h.cmake.in| |
| 19 | libtiff/tiffconf.h| |
| 20 | libtiff/tiffconf.h.in| |
| 21 | libtiff/tiffconf.h.cmake.in |
| 22 | ) |