source: sasview/build_tools/jenkins_linux_pylint.sh @ a8d882a

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since a8d882a was 3a39c2e, checked in by krzywon, 10 years ago

Next iteration of the SANS→SAS is complete.

  • Property mode set to 100755
File size: 516 bytes
RevLine 
[280d5c0]1#! /bin/sh
[9939b16]2set -x
[280d5c0]3
4# try to find reasonable settings, if not provided in the environment
5PYTHON=${PYTHON:-`which python`}
6PYLINT=${PYLINT:-`which pylint`}
7BUILD_TOOLS_DIR=`dirname $0`
8WORKSPACE=${WORKSPACE:-`readlink -f $BUILD_TOOLS_DIR/..`}
9# WORKSPACE top level of source
10
[9939b16]11export PYTHONPATH=$WORKSPACE/sasview-install:$WORKSPACE/utils:$PYTHONPATH
[280d5c0]12
13cd $WORKSPACE
14rm -f test/*.txt
15
[3a39c2e]16$PYLINT --rcfile "$WORKSPACE/build_tools/pylint.rc" -f parseable sasview-install/sasview.egg/sas sasview > test/sasview.txt || exit 0
Note: See TracBrowser for help on using the repository browser.