fix(format): check more source code (#3493)

and sync .pre-commit-config.yaml with scripts/code-format.py

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-07-18 21:28:16 +08:00
committed by GitHub
parent 2fd2b6e4ed
commit dc1e4c87b0
5 changed files with 64 additions and 64 deletions

View File

@@ -25,6 +25,7 @@
--ignore-exclude-errors
--ignore-exclude-errors-x
--exclude=assets
--exclude=test_fonts
--exclude=../src/core/lv_obj_style_gen.c
--exclude=../src/core/lv_obj_style_gen.h
--exclude=../src/extra/libs/gif/gifdec.c
@@ -36,6 +37,7 @@
--exclude=../src/extra/libs/sjpg/tjpgd.c
--exclude=../src/extra/libs/sjpg/tjpgd.h
--exclude=../src/extra/libs/sjpg/tjpgdcnf.h
--exclude=../src/misc/lv_style_gen.c
--exclude=../src/misc/lv_style_gen.h
--exclude=../tests/src/test_cases/_test_template.c
--exclude=../tests/unity/unity.c
--exclude=../tests/unity/unity_internals.h
--exclude=../tests/unity/unity_support.c
--exclude=../tests/unity/unity_support.h