aboutsummaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
blob: 323386c886ed92b83dbb0527cecbe7ca4e3f6a8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.4.0
    hooks:
      - id: trailing-whitespace
        exclude: '.patch$'
        # trailing blanks shall not preferably be fixed in patch files

  - repo: https://github.com/Lucas-C/pre-commit-hooks
    rev: v1.4.2
    hooks:
      - id: remove-tabs
        stages: [commit]
        exclude: '^(.git/|docs/make.bat|docs/Makefile|)'