projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jjb: Add lttng-ust-benchmarks
[lttng-ci.git]
/
scripts
/
babeltrace
/
pylint.sh
diff --git
a/scripts/babeltrace/pylint.sh
b/scripts/babeltrace/pylint.sh
index 80637f6adc217249fd6cd256a813bdad76936e52..dc3950c0451af5a571db15ffcb66be0462b64395 100755
(executable)
--- a/
scripts/babeltrace/pylint.sh
+++ b/
scripts/babeltrace/pylint.sh
@@
-25,20
+25,20
@@
BINDINGS_DIR="$BABELTRACE_DIR/lib/python${P3_VERSION}/dist-packages/babeltrace"
PYENV_HOME="$WORKSPACE/.pyenv/"
# Delete previously built virtualenv
PYENV_HOME="$WORKSPACE/.pyenv/"
# Delete previously built virtualenv
-if [ -d
$PYENV_HOME
]; then
- rm -rf
$PYENV_HOME
+if [ -d
"$PYENV_HOME"
]; then
+ rm -rf
"$PYENV_HOME"
fi
# Create virtualenv and install necessary packages
fi
# Create virtualenv and install necessary packages
-virtualenv --system-site-packages -p ${PYTHON3}
$PYENV_HOME
+virtualenv --system-site-packages -p ${PYTHON3}
"$PYENV_HOME"
set +u
set +u
-.
$PYENV_HOME/bin/activate
+.
"$PYENV_HOME/bin/activate"
set -u
pip install --quiet pylint
pip install --quiet pep8
set -u
pip install --quiet pylint
pip install --quiet pep8
-pep8 --exclude="nativebt.py"
$BINDINGS_DIR
| tee pep8.out
+pep8 --exclude="nativebt.py"
"$BINDINGS_DIR"
| tee pep8.out
-pylint -f parseable --ignore="nativebt.py"
$BINDINGS_DIR
| tee pylint.out
+pylint -f parseable --ignore="nativebt.py"
"$BINDINGS_DIR"
| tee pylint.out
This page took
0.022418 seconds
and
4
git commands to generate.