]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Drop the auto-prompting 'do you want to run scripts/lint now' (#1107)
authorTom Christie <tom@tomchristie.com>
Sat, 1 Aug 2020 08:39:28 +0000 (09:39 +0100)
committerGitHub <noreply@github.com>
Sat, 1 Aug 2020 08:39:28 +0000 (09:39 +0100)
scripts/test

index 7b35d2af645f4ccf2dc0929f0b658a824df5c1f5..f9c9917233193a0da905a83467c7e825518e9a84 100755 (executable)
@@ -5,22 +5,12 @@ if [ -d 'venv' ] ; then
     export PREFIX="venv/bin/"
 fi
 
+set -ex
+
 if [ -z $GITHUB_ACTIONS ]; then
-    set +e
     scripts/check
-    while [ $? -ne 0 ]; do
-        read -p "Running 'scripts/check' failed. Do you want to run 'scripts/lint' now? [y/N]  " yn
-        case $yn in
-           [Yy]* ) :;;
-           * ) exit;;
-        esac
-        scripts/lint
-        scripts/check
-    done
 fi
 
-set -ex
-
 ${PREFIX}pytest $@
 
 if [ -z $GITHUB_ACTIONS ]; then