From a99b1ce73d53e06bec645c739ae341af975637f1 Mon Sep 17 00:00:00 2001 From: Laurent Bachelier Date: Wed, 3 Apr 2013 18:59:49 +0200 Subject: [PATCH] More code quality checks --- tools/pyflakes.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/pyflakes.sh b/tools/pyflakes.sh index 8f29661e..4a6c4b4d 100755 --- a/tools/pyflakes.sh +++ b/tools/pyflakes.sh @@ -1,6 +1,8 @@ #!/bin/bash -u cd $(dirname $0) cd .. +grep -r --include '*.py' 'class [^( ]\+:$' . && exit 3 +grep -r --include '*.py' $'\t\|\s$' . && exit 4 FLAKE8="" if which flake8 >/dev/null 2>&1; then