pre-commit: Include re-styled OSCORE files to checks

This commit is contained in:
Jon Shallow authored and Jon Shallow committed 2023-07-05 10:50:25 +01:00
1 parent fb4b5f33f2
commit ca1e4098b0
9 files changed
+136 -164

No files matched your search

+3 -2
View File
@@ -3,7 +3,7 @@ repos:
rev: v0.9.0
hooks:
- id: astyle_py
files: '^(man).*\.(c|cpp|cxx|h|h.in|h.riot|h.riot.in|h.windows|h.windows.in|h.contiki|hpp|inc)$'
files: '^(man|include/oscore|src/oscore|src/coap_oscore).*\.(c|cpp|cxx|h|h.in|h.riot|h.riot.in|h.windows|h.windows.in|h.contiki|hpp|inc)$'
exclude: '^.*/(coap_uthash_internal.h|coap_utlist_internal.h)$'
args: ['--style=google',
'--align-pointer=name',
@@ -14,9 +14,10 @@ repos:
'--break-one-line-headers',
'--break-return-type',
'--convert-tabs',
'--indent-continuation=2',
'--indent-preproc-define',
'--indent=spaces=2',
'--max-code-length=120',
'--max-code-length=100',
'--max-continuation-indent=60',
'--min-conditional-indent=0',
'--pad-header',