mirror of
https://github.com/obgm/libcoap.git
synced 2026-12-05 20:02:19 +03:00
pre-commit: Include re-styled OSCORE files to checks
This commit is contained in:
1 parent
fb4b5f33f2
commit
ca1e4098b0
9 files changed
+136
-164
No files matched your search
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user