minor improvements of pylint script
This commit is contained in:
parent
706a4b2b6f
commit
092df74547
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# set some environmental variables for pylint
|
||||
# set some environmental variables for pylint and run it
|
||||
#
|
||||
|
||||
PROJ_DIR=$(dirname "$0")/..
|
||||
|
@ -29,6 +29,7 @@ while test $# -gt 0
|
|||
export PYTHONPATH
|
||||
export PYLINTRC
|
||||
|
||||
[ ! -x /usr/bin/pylint ] && echo "please run \"apt-get install pylint\" first" && exit 1
|
||||
[ ! -x /usr/bin/pylint ] && echo >&2 "please run \"apt-get install pylint\" first" && exit 1
|
||||
|
||||
pylint $ARGS
|
||||
|
||||
|
|
Loading…
Reference in a new issue