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 faa3ae7 was
98ae0ba,
checked in by trnielsen, 9 years ago
|
Added pylint script for new Linux workflow
|
-
Property mode set to
100755
|
File size:
531 bytes
|
Line | |
---|
1 | #! /bin/sh |
---|
2 | set -x |
---|
3 | |
---|
4 | # try to find reasonable settings, if not provided in the environment |
---|
5 | PYTHON=${PYTHON:-`which python`} |
---|
6 | PYLINT=${PYLINT:-`which pylint`} |
---|
7 | #BUILD_TOOLS_DIR=`dirname $0` |
---|
8 | #WORKSPACE=${WORKSPACE:-`readlink -f $BUILD_TOOLS_DIR/..`} |
---|
9 | # WORKSPACE top level of source |
---|
10 | |
---|
11 | |
---|
12 | |
---|
13 | |
---|
14 | export PYTHONPATH=$WORKSPACE/sasview/sasview-install:$WORKSPACE/sasview/utils:$PYTHONPATH |
---|
15 | |
---|
16 | cd $WORKSPACE/sasview |
---|
17 | rm -f test/sasview.txt |
---|
18 | |
---|
19 | $PYLINT --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview*.egg/sas sasview > test/sasview.txt |
---|
Note: See
TracBrowser
for help on using the repository browser.