diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-02-09 19:09:47 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-02-11 16:04:44 +0000 |
commit | 3a67c90baf7abecd62b92cf64176a04f337da5bc (patch) | |
tree | 8bd947bc2d43a7947e34bdba8758b3d4b52cc983 | |
parent | 1178eb5991c8ea99f4efef29bcde1c3a0f363e4f (diff) | |
download | morph-3a67c90baf7abecd62b92cf64176a04f337da5bc.tar.gz |
check: Only check for lines > 79 characters in .py files
-rwxr-xr-x | check | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -2,7 +2,7 @@ # # Run test suite for morph. # -# Copyright (C) 2011-2014 Codethink Limited +# Copyright (C) 2011-2015 Codethink Limited # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -102,9 +102,7 @@ then echo 'Checking source code for silliness' if ! (git ls-files --cached | - grep -v '\.gz$' | - grep -Ev 'tests[^/]*/.*\.std(out|err)' | - grep -vF 'tests.build/build-system-autotools.script' | + grep '\.py$' | xargs -r scripts/check-silliness); then exit 1 fi |