summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-02-09 19:09:47 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-02-11 16:04:44 +0000
commit3a67c90baf7abecd62b92cf64176a04f337da5bc (patch)
tree8bd947bc2d43a7947e34bdba8758b3d4b52cc983
parent1178eb5991c8ea99f4efef29bcde1c3a0f363e4f (diff)
downloadmorph-3a67c90baf7abecd62b92cf64176a04f337da5bc.tar.gz
check: Only check for lines > 79 characters in .py files
-rwxr-xr-xcheck6
1 files changed, 2 insertions, 4 deletions
diff --git a/check b/check
index dc4f96bc..9c9bb4cb 100755
--- a/check
+++ b/check
@@ -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