Skip to content

Commit 4ba87fe

Browse files
committed
chore(formatting): do not check formatting on zcbor
Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
1 parent 58b8ba2 commit 4ba87fe

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

scripts/check_c_formatting.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@ SRC_DIR="$ROOT_DIR/src"
2828

2929
echo "Checking formatting in $SRC_DIR/.."
3030

31-
find src -type f '(' -name '*.c' -o -name '*.h' ')' ! -name 'utlist.h' -print0 | \
31+
find src -type f '(' -name '*.c' -o -name '*.h' ')' \
32+
! -name 'utlist.h' \
33+
! -path 'src/samples/supervisor/posix/zcbor/*' \
34+
-print0 | \
3235
xargs -0 -n1 clang-format ${ARGUMENT} -Werror

0 commit comments

Comments
 (0)