summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/coding-checks.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/coding-checks.sh b/tools/coding-checks.sh
index 71e2195c6..9665066bb 100755
--- a/tools/coding-checks.sh
+++ b/tools/coding-checks.sh
@@ -31,7 +31,7 @@ run_pylint() {
if [[ "$target" = *"all"* ]]; then
files="cinder"
else
- files=$(git diff --name-only --diff-filter=ACMRU $target "*.py")
+ files=$(git diff --name-only --diff-filter=ACMRU $target -- "*.py")
fi
if [ -n "${files}" ]; then