mirror of https://github.com/zulip/zulip.git
check-all: Only check python files in git.
(imported from commit 1c633e048cad0cc4f629977363df6a8300dac65c)
This commit is contained in:
parent
10adfee7b0
commit
12cd44bd0f
|
@ -9,11 +9,9 @@ fi
|
|||
|
||||
cd "$SCRIPT_DIR"/..;
|
||||
|
||||
if find . \
|
||||
-path ./confirmation -prune \
|
||||
-o -path ./humbug/test-settings.py -prune \
|
||||
-o -name '*.py' -print0 \
|
||||
| xargs -0 pyflakes \
|
||||
if git ls-files | grep py$ | grep -v ^confirmation/ \
|
||||
| grep -v humbug/test-settings.py \
|
||||
| xargs pyflakes \
|
||||
| grep -v 'imported but unused'; then
|
||||
|
||||
EXITCODE=1;
|
||||
|
|
Loading…
Reference in New Issue