@ -44,10 +44,16 @@ for x in $(find "${1:-.}" -maxdepth 2 -type f -iname '*.py' -o -iname '*.jy' | s
#fi
fi
done
if [ $found != 0 ]; then
time_taken "$start_time"
if [ -n "${WARN_ONLY:-}" ]; then
section2 "Python OK - assertions scan finished"
else
exit 1
section2 "Python OK - no assertions found in normal code"
section2 "Python OK - assertions found in normal code"
echo