activate venv automatically

This commit is contained in:
Daniel Micay 2022-07-18 17:14:16 -04:00
parent 8239a4cac1
commit 3c767278da

View File

@ -3,6 +3,10 @@
set -o errexit -o nounset -o pipefail
shopt -s dotglob extglob globstar
if [[ ${GITHUB_ACTIONS:-false} != true ]]; then
source venv/bin/activate
fi
if [[ $# -eq 1 ]]; then
fd=$1
else