aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/travis/lint.sh
blob: 36657e92a3902f3e74ec9aced35226c66635d87e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
set -ev
which shellcheck > /dev/null && shellcheck "$0" # Run shellcheck on this if available

echo "travis_fold:start:pylint_configure"
python3 -m pylint configure.py
python2 -m pylint configure.py
echo "travis_fold:end:pylint_configure"

echo "travis_fold:start:pylint_botanpy"
python3 -m pylint src/python/botan.py
python2 -m pylint src/python/botan.py
echo "travis_fold:end:pylint_botanpy"