aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/travis/lint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/ci/travis/lint.sh')
-rwxr-xr-xsrc/scripts/ci/travis/lint.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/scripts/ci/travis/lint.sh b/src/scripts/ci/travis/lint.sh
new file mode 100755
index 000000000..fe72ff589
--- /dev/null
+++ b/src/scripts/ci/travis/lint.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+set -ev
+which shellcheck > /dev/null && shellcheck "$0" # Run shellcheck on this if available
+
+echo "travis_fold:start:pylint"
+python3 -m pylint configure.py
+python2 -m pylint configure.py
+echo "travis_fold:end:pylint"