#!/bin/bash SCRIPT_DIR="$(dirname "$0")" EXITCODE=0 FILTER_IMPORTS="-v imported.but.unused" if [ "$1" = "--imports" ]; then FILTER_IMPORTS="." fi if ! "$SCRIPT_DIR"/jslint/check-all; then EXITCODE=1; fi cd "$SCRIPT_DIR"/..; # Some Python files don't have names ending in .py PYTHON_FILES=$(cat <