File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 77 - uses : actions/checkout@v4
88 - name : Run ShellCheck
99 uses : ludeeus/action-shellcheck@master
10- env :
11- SHELLCHECK_OPTS : -x
Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /usr/ bin/env bash
22
33# This script sets up the python environment if it doesn't exist yet.
44# It should be sourced (i.e. called with "source scripts/setup_venv.sh")
55# so that the python environment will be available in the calling shell.
66
77if [ -d " venv" ]; then
8+ # shellcheck source=/dev/null
89 source venv/bin/activate
910else
1011 # Create a venv and activate it
1112 python3 -m venv venv
13+ # shellcheck source=/dev/null
1214 source venv/bin/activate
1315 # Install dependencies from PyPi
1416 pip3 install -r requirements.txt
You can’t perform that action at this time.
0 commit comments