Skip to content

Commit 0e5727a

Browse files
rbmarliereacerv
authored andcommitted
.b4-config: Add checkpatch.pl default commands
Blend b4 default checkpatch.pl flags with the ones defined in include/mk/env_post.mk in .b4-config so that a contributor may use `b4 prep --check` and `b4 am --check` in his workflow. Signed-off-by: Ricardo B. Marliere <rbm@suse.com> Reviewed-by: Andrea Cervesato <andrea.cervesato@suse.com>
1 parent 6fe8aa1 commit 0e5727a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.b4-config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
send-series-to = Linux Test Project <ltp@lists.linux.it>
55
pw-url = https://patchwork.ozlabs.org/
66
pw-project = ltp
7+
prep-perpatch-check-cmd = ./scripts/checkpatch.pl -q --terse --no-summary --mailback --showfile --no-tree --ignore CONST_STRUCT,VOLATILE,SPLIT_STRING,FILE_PATH_CHANGES
8+
am-perpatch-check-cmd = ./scripts/checkpatch.pl -q --terse --no-summary --mailback --no-tree --ignore CONST_STRUCT,VOLATILE,SPLIT_STRING,FILE_PATH_CHANGES
9+

0 commit comments

Comments
 (0)