fix(ci): fix indentation of .pre-commit-config.yaml (#4915)

This commit is contained in:
Viktor Szépe
2023-12-03 21:18:34 +01:00
committed by GitHub
parent 998f60e355
commit 86154ab16a
+21 -21
View File
@@ -10,30 +10,30 @@ repos:
hooks:
# Run astyle over the staged files with c and h extension found in the directories
# listed in the files regex pattern. Ignoring the files in the exclude pattern.
- id: format-source
name: Formatting source files
entry: astyle --options=scripts/code-format.cfg --ignore-exclude-errors
stages: [ commit ]
language: system
pass_filenames: true
verbose: true
files: |
(?x)^(
demos/ |
examples/ |
src/ |
tests/
)
exclude: |
(?x)^(
src/libs/ |
src/lv_conf_internal.h
)
types_or: ["c", "header"]
- id: format-source
name: Formatting source files
entry: astyle --options=scripts/code-format.cfg --ignore-exclude-errors
stages: [ commit ]
language: system
pass_filenames: true
verbose: true
files: |
(?x)^(
demos/ |
examples/ |
src/ |
tests/
)
exclude: |
(?x)^(
src/libs/ |
src/lv_conf_internal.h
)
types_or: ["c", "header"]
- repo: https://github.com/crate-ci/typos
rev: v1.16.20
hooks:
- id: typos
- id: typos
exclude: |
(?x)^(
src/libs/