mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-21 22:52:46 +08:00
fix(ci): fix indentation of .pre-commit-config.yaml (#4915)
This commit is contained in:
+21
-21
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user