summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2008-10-29 16:29:11 +0100
committerHans de Goede <hdegoede@redhat.com>2008-10-29 16:52:32 +0100
commitd05aed7c8f4906ed10eba96ccf647cf753dfec51 (patch)
treed28c6280053fa42173a057bf728e681c6b242b8b
parent54347f57a867d3abb7798ffde2da88fcbfb8971f (diff)
downloadanaconda-d05aed7c8f4906ed10eba96ccf647cf753dfec51.tar.gz
anaconda-d05aed7c8f4906ed10eba96ccf647cf753dfec51.tar.xz
anaconda-d05aed7c8f4906ed10eba96ccf647cf753dfec51.zip
Add a bit of documentation to the top of runpychecker.sh
Add a bit of documentation to the top of runpychecker.sh
-rwxr-xr-xrunpychecker.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/runpychecker.sh b/runpychecker.sh
index dacbacf37..8a7247458 100755
--- a/runpychecker.sh
+++ b/runpychecker.sh
@@ -1,5 +1,13 @@
#!/bin/bash
+# This script will check anaconda for any pychecker warning using a set of
+# options minimizing false positives, in combination with filtering of any
+# warning regularexpressions listed in pychecker-false-positives.
+#
+# If any warnings our found they will be stored in pychecker-log and printed
+# to stdout and this script will exit with a status of 1, if no (non filtered)
+# warnings are found it exits with a status of 0
+
FALSE_POSITIVES=pychecker-false-positives
if [ "`tail -c 1 pychecker-false-positives`" == "`echo`" ]; then