Fix linting issues 90/70890/3
authorVictor Morales <v.morales@samsung.com>
Thu, 27 Aug 2020 15:08:38 +0000 (11:08 -0400)
committerGeorg Kunz <georg.kunz@est.tech>
Mon, 7 Sep 2020 19:33:16 +0000 (19:33 +0000)
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>
deploy.sh
tox.ini

index ff5797e..34f13e4 100755 (executable)
--- 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 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-minversion = 3.15
+minversion = 3.5
 skipsdist = True
 envlist = lint,docs