From 1fb009c2a6f3294e00fc71764717e654f03408a6 Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Mon, 29 Apr 2024 11:11:51 +0200 Subject: [PATCH] Disable shellcheck for external python venv activation script --- provisioning/install-aste.sh | 1 + provisioning/install-fenics.sh | 1 + provisioning/install-fmiprecice.sh | 1 + provisioning/install-julia-bindings.sh | 1 + provisioning/install-micro-manager.sh | 1 + provisioning/install-precice.sh | 1 + provisioning/install-su2.sh | 1 + 7 files changed, 7 insertions(+) diff --git a/provisioning/install-aste.sh b/provisioning/install-aste.sh index 0ea4c8a..20ec4c0 100644 --- a/provisioning/install-aste.sh +++ b/provisioning/install-aste.sh @@ -10,6 +10,7 @@ set -ex sudo apt-get -y install libmetis-dev python -m venv ~/python-venvs/aste +# shellcheck disable=SC1090 We don't need to lint this external script source ~/python-venvs/aste/bin/activate python3 -m pip install sympy scipy jinja2 diff --git a/provisioning/install-fenics.sh b/provisioning/install-fenics.sh index 0efa159..1950478 100644 --- a/provisioning/install-fenics.sh +++ b/provisioning/install-fenics.sh @@ -9,6 +9,7 @@ sudo apt-get -y install --no-install-recommends fenics # Install the FEniCS-preCICE adapter from PIP python -m venv ~/python-venvs/fenicsprecice +# shellcheck disable=SC1090 We don't need to lint this external script source ~/python-venvs/fenicsprecice/bin/activate python -m pip install fenicsprecice deactivate diff --git a/provisioning/install-fmiprecice.sh b/provisioning/install-fmiprecice.sh index 58209dd..fc73001 100644 --- a/provisioning/install-fmiprecice.sh +++ b/provisioning/install-fmiprecice.sh @@ -2,6 +2,7 @@ set -ex python -m venv ~/python-venvs/fmiprecice +# shellcheck disable=SC1090 We don't need to lint this external script source ~/python-venvs/fmiprecice/bin/activate # Install the FMI runner from PIP diff --git a/provisioning/install-julia-bindings.sh b/provisioning/install-julia-bindings.sh index 04d4888..b65b443 100644 --- a/provisioning/install-julia-bindings.sh +++ b/provisioning/install-julia-bindings.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash python -m venv ~/python-venvs/julia +# shellcheck disable=SC1090 We don't need to lint this external script source ~/python-venvs/julia/bin/activate # install latest julia diff --git a/provisioning/install-micro-manager.sh b/provisioning/install-micro-manager.sh index f5e8451..4e374a2 100644 --- a/provisioning/install-micro-manager.sh +++ b/provisioning/install-micro-manager.sh @@ -2,6 +2,7 @@ set -ex python -m venv ~/python-venvs/micro-manager +# shellcheck disable=SC1090 We don't need to lint this external script source ~/python-venvs/micro-manager/bin/activate python -m pip install micro-manager-precice diff --git a/provisioning/install-precice.sh b/provisioning/install-precice.sh index 4f8a72c..c2f8cdf 100644 --- a/provisioning/install-precice.sh +++ b/provisioning/install-precice.sh @@ -60,6 +60,7 @@ sudo apt-get -y install gnuplot # needed for watchpoint scripts of tutorials sudo apt-get install -y python3-pip python -m venv ~/python-venvs/pyprecice +# shellcheck disable=SC1090 We don't need to lint this external script source ~/python-venvs/pyprecice/bin/activate python -m pip install pyprecice diff --git a/provisioning/install-su2.sh b/provisioning/install-su2.sh index e0578bb..eadce9a 100644 --- a/provisioning/install-su2.sh +++ b/provisioning/install-su2.sh @@ -3,6 +3,7 @@ set -ex # Install dependencies python -m venv ~/python-venvs/su2precice +# shellcheck disable=SC1090 We don't need to lint this external script source ~/python-venvs/su2precice/bin/activate python -m pip install mpi4py setuptools sudo apt-get -y install swig