acid-drop- Hacking the planet from a LilyGo T-Deck using custom firmware |
git clone git://git.acid.vegas/acid-drop.git |
Log | Files | Refs | Archive | README | LICENSE |
.pre-commit-config.yaml (891B)
1 # See https://pre-commit.com for more information 2 # See https://pre-commit.com/hooks.html for more hooks 3 repos: 4 - repo: https://github.com/pre-commit/pre-commit-hooks 5 rev: v3.2.0 6 hooks: 7 - id: trailing-whitespace 8 9 - repo: local 10 hooks: 11 # Run astyle over the staged files with c and h extension found in the directories 12 # listed in the files regex pattern. Ignoring the files in the exclude pattern. 13 - id: format-source 14 name: Formatting source files 15 entry: astyle --options=scripts/code-format.cfg --ignore-exclude-errors 16 stages: [ commit ] 17 language: system 18 pass_filenames: true 19 verbose: true 20 files: | 21 (?x)^( 22 src/ | 23 tests/src/test_cases/ 24 ) 25 exclude: | 26 (?x)^( 27 src/extra/libs/ | 28 src/lv_conf_internal.h 29 ) 30 types_or: ["c", "header"]