From 85f7ae316090e0eb9a68e90c2dc74cfaaa1a63da Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Wed, 17 Apr 2019 10:33:40 -0400 Subject: [PATCH] Selftests: extract inspekt style to a script Signed-off-by: Cleber Rosa --- selftests/checkall | 2 +- selftests/inspekt-style.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100755 selftests/inspekt-style.sh diff --git a/selftests/checkall b/selftests/checkall index 8e949691..9ebfc86a 100755 --- a/selftests/checkall +++ b/selftests/checkall @@ -143,7 +143,7 @@ results_dir_content() { run_rc lint "selftests/inspekt-lint.sh" run_rc indent "selftests/inspekt-indent.sh" -run_rc style 'inspekt style --exclude=.git --disable E501,E265,W601,E402,E722' +run_rc style "selftests/inspekt-style.sh" run_rc boundaries 'selftests/modules_boundaries' run_rc signed-off-by 'selftests/signedoff-check.sh' if [ "$AVOCADO_PARALLEL_CHECK" ]; then diff --git a/selftests/inspekt-style.sh b/selftests/inspekt-style.sh new file mode 100755 index 00000000..cf38805a --- /dev/null +++ b/selftests/inspekt-style.sh @@ -0,0 +1,2 @@ +#!/bin/sh -e +inspekt style --exclude=.git --disable E501,E265,W601,E402,E722 -- GitLab