diff options
Diffstat (limited to 'tools/run-pyflakes')
-rwxr-xr-x | tools/run-pyflakes | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/run-pyflakes b/tools/run-pyflakes deleted file mode 100755 index b3759a94..00000000 --- a/tools/run-pyflakes +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -PYTHON_VERSION=${PYTHON_VERSION:-2} -CR=" -" -pycheck_dirs=( "cloudinit/" "tests/" "tools/" ) - -set -f -if [ $# -eq 0 ]; then - files=( "${pycheck_dirs[@]}" ) -else - files=( "$@" ) -fi - -cmd=( "python${PYTHON_VERSION}" -m "pyflakes" "${files[@]}" ) - -echo "Running: " "${cmd[@]}" 1>&2 -exec "${cmd[@]}" |