lol

unittestCheckHook: lint with ShellCheck

+3 -1
+3 -1
pkgs/development/interpreters/python/hooks/unittest-check-hook.sh
··· 1 1 # Setup hook for unittest. 2 + # shellcheck shell=bash 3 + 2 4 echo "Sourcing unittest-check-hook" 3 5 4 6 unittestCheckPhase() { ··· 18 20 echo "Finished executing unittestCheckPhase" 19 21 } 20 22 21 - if [ -z "${dontUseUnittestCheck-}" ] && [ -z "${installCheckPhase-}" ]; then 23 + if [[ -z "${dontUseUnittestCheck-}" ]] && [[ -z "${installCheckPhase-}" ]]; then 22 24 echo "Using unittestCheckPhase" 23 25 appendToVar preDistPhases unittestCheckPhase 24 26 fi