mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-28 13:36:27 +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:
|
hooks:
|
||||||
# Run astyle over the staged files with c and h extension found in the directories
|
# 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.
|
# listed in the files regex pattern. Ignoring the files in the exclude pattern.
|
||||||
- id: format-source
|
- id: format-source
|
||||||
name: Formatting source files
|
name: Formatting source files
|
||||||
entry: astyle --options=scripts/code-format.cfg --ignore-exclude-errors
|
entry: astyle --options=scripts/code-format.cfg --ignore-exclude-errors
|
||||||
stages: [ commit ]
|
stages: [ commit ]
|
||||||
language: system
|
language: system
|
||||||
pass_filenames: true
|
pass_filenames: true
|
||||||
verbose: true
|
verbose: true
|
||||||
files: |
|
files: |
|
||||||
(?x)^(
|
(?x)^(
|
||||||
demos/ |
|
demos/ |
|
||||||
examples/ |
|
examples/ |
|
||||||
src/ |
|
src/ |
|
||||||
tests/
|
tests/
|
||||||
)
|
)
|
||||||
exclude: |
|
exclude: |
|
||||||
(?x)^(
|
(?x)^(
|
||||||
src/libs/ |
|
src/libs/ |
|
||||||
src/lv_conf_internal.h
|
src/lv_conf_internal.h
|
||||||
)
|
)
|
||||||
types_or: ["c", "header"]
|
types_or: ["c", "header"]
|
||||||
- repo: https://github.com/crate-ci/typos
|
- repo: https://github.com/crate-ci/typos
|
||||||
rev: v1.16.20
|
rev: v1.16.20
|
||||||
hooks:
|
hooks:
|
||||||
- id: typos
|
- id: typos
|
||||||
exclude: |
|
exclude: |
|
||||||
(?x)^(
|
(?x)^(
|
||||||
src/libs/
|
src/libs/
|
||||||
|
|||||||
Reference in New Issue
Block a user