summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Morales <v.morales@samsung.com>2020-08-27 11:08:38 -0400
committerGeorg Kunz <georg.kunz@est.tech>2020-09-07 19:33:16 +0000
commit45d640dd68ffee50a0d469a777b0fdc3546953a9 (patch)
tree9c7267228c9e63bed6b2fb64f23fac49f102be65
parentbb4d62863969a3524203be147a70e1acf954422b (diff)
Fix linting issues
The CI job has been enabled and there are some issues reported by tox and shellcheck. This change fixes them. Signed-off-by: Victor Morales <v.morales@samsung.com> Change-Id: I2678dbfeffdce61aa330aa9bba36010622f7227e Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70890 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Tested-by: Georg Kunz <georg.kunz@est.tech> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-by: Georg Kunz <georg.kunz@est.tech>
-rwxr-xr-xdeploy.sh2
-rw-r--r--tox.ini2
2 files changed, 3 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh
index ff5797e..34f13e4 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -20,7 +20,9 @@ DIRECTORY=$(readlink -f "$0")
CURRENTPATH=$(dirname "$DIRECTORY")
# Source env variables & functions
+# shellcheck source=./deploy.env
source "$CURRENTPATH/deploy.env"
+# shellcheck source=./functions.sh
source "$CURRENTPATH/functions.sh"
# Clean up leftovers
diff --git a/tox.ini b/tox.ini
index cf327ca..1879ded 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-minversion = 3.15
+minversion = 3.5
skipsdist = True
envlist = lint,docs