summaryrefslogtreecommitdiffstats
path: root/jjb/csit/include-raw-csit-pylint.sh
blob: 2987e5e25b558dbeb74c0a04079c4847dc79c123 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

set -x

# Re-create virtual environment
rm -rf env || true
virtualenv env
. env/bin/activate

# Install requirements, so all CSIT python dependencies are met
pip install -r requirements.txt
pip install pylint==1.5.4

# Run pylint, but hide its' return value until python warnings are cleared
PYTHONPATH=`pwd` pylint --rcfile=pylint.cfg resources/ > pylint.log || true

# vim: ts=4 ts=4 sts=4 et :