-
Notifications
You must be signed in to change notification settings - Fork 9
/
.pre-commit-config.yaml
37 lines (37 loc) · 1.09 KB
/
.pre-commit-config.yaml
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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
exclude: |
(?x) # verbose re
( # start alternations
# not our code
^Packages/MIES/IPA_Control.ipf|
^tools/installer/nsis|
^tools/installer/Shelllink|
^tools/installer/AccessControl|
# patch and svg files always have trailing whitespace
.*patch$|
.*svg$|
# don't touch MacOSX XOPs
^XOPs-MacOSX-IP9-64bit
) # end alternations
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-added-large-files
- id: fix-byte-order-marker
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-yaml
- id: destroyed-symlinks
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/sirosen/texthooks
rev: 0.4.0
hooks:
- id: forbid-bidi-controls