Skip to content

Commit

Permalink
fix(ci): fix indentation of .pre-commit-config.yaml (lvgl#4915)
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Dec 3, 2023
1 parent 998f60e commit 86154ab
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 86154ab

Please sign in to comment.