提交 df59ac54 编写于 作者: C Cleber Rosa 提交者: Lukáš Doktor

selftests/checkall: revert silecing of inspekt lint checks

On b97a4cfa, the (noisy) output produced by the inspekt lint (and
underline pylint) was silenced by having it redirected to a file.

This seems to no longer be necessary.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 b39dff67
......@@ -155,11 +155,7 @@ results_dir_content() {
}
[ "$SKIP_RESULTSDIR_CHECK" ] || RESULTS_DIR_CONTENT="$(ls $RESULTS_DIR 2> /dev/null)"
if [ "$TRAVIS" == "true" ]; then
run_rc lint 'RESULT=$(mktemp); inspekt lint --exclude=.git --enable W0101,W0102,W0404,W0611,W0612,W0622 &>$RESULT || { cat $RESULT; rm $RESULT; exit -1; }; rm $RESULT'
else
run_rc lint 'inspekt lint --exclude=.git --enable W0101,W0102,W0404,W0611,W0612,W0622'
fi
run_rc lint 'inspekt lint --exclude=.git --enable W0101,W0102,W0404,W0611,W0612,W0622'
# Skip checking test_utils_cpu.py due to inspektor bug
run_rc indent 'inspekt indent --exclude=.git,selftests/unit/test_utils_cpu.py'
run_rc style 'inspekt style --exclude=.git --disable E501,E265,W601,E402,E722'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册