pre-commit: Ignore sagetech mixed line endings

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This commit is contained in:
Ryan Friedman 2023-09-04 17:21:47 -06:00 committed by Peter Barker
parent 0432863832
commit 35d17212b7

View File

@ -24,6 +24,11 @@ repos:
name: Check line ending character (LF)
args: ["--fix=lf"]
types_or: [python, c, c++, shell]
exclude: |
(?x)^(
libraries/AP_ADSB/AP_ADSB_Sagetech_MXS.cpp |
libraries/AP_ADSB/AP_ADSB_Sagetech_MXS.h
)$
- id: check-added-large-files
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable