diff options
author | Hans de Goede <hdegoede@redhat.com> | 2008-10-29 16:24:28 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2008-10-29 16:52:32 +0100 |
commit | 54347f57a867d3abb7798ffde2da88fcbfb8971f (patch) | |
tree | 163668a3de4b50e8dd88042d698d2d74ff0036e9 /pychecker-false-positives | |
parent | ae46ce141919abdfcd258989b2ce0e3e435eb85b (diff) | |
download | anaconda-54347f57a867d3abb7798ffde2da88fcbfb8971f.tar.gz anaconda-54347f57a867d3abb7798ffde2da88fcbfb8971f.tar.xz anaconda-54347f57a867d3abb7798ffde2da88fcbfb8971f.zip |
Add runpychecker.sh script and pychecker-false-positives file
The runpychecker.sh script will check anaconda for any pychecker warning using
a set of options, in combination with filtering of any warning regular-
expressions listed in pychecker-false-positives. If any warnings our found
they will be stored in pychecker-log and printed to stdout and runpychecker.sh
will exit with a status of 1, if no (non filtered) warnings are found it exits
with a status of 0
Diffstat (limited to 'pychecker-false-positives')
-rw-r--r-- | pychecker-false-positives | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pychecker-false-positives b/pychecker-false-positives new file mode 100644 index 000000000..d7567669c --- /dev/null +++ b/pychecker-false-positives @@ -0,0 +1,25 @@ +deleted +filter +setattr +^$ +^dm.c: [0-9]*: not running as root returning empty list$ +^Warnings...$ +^anaconda\.py:[0-9]*: No global .* found$ +^cmdline\.py:[0-9]*: No global \(nextWin\) found$ +^fsset\.py:[0-9]*: Object \(bestprep\) has no attribute \(format\)$ +^partitions.py:[0-9]*: Object \(bestprep\) has no attribute \(getPreExisting\)$ +^partitions.py:[0-9]*: Object \(bestreq\) has no attribute \(format\)$ +^iscsi.py:[0-9]*: Invalid arguments to \(addTarget\), got 0, expected between 1 and 7$ +^minihal.py:[0-9]*: Object \(haldev\) has no attribute \(GetAllProperties\)$ +^minihal.py:[0-9]*: Object \(hal\) has no attribute \(FindDeviceByCapability\)$ +^(.*isys/isys.py|network.py):[0-9]*: Object \(.*_iface\) has no attribute \(Get.*\)$ +^network.py:[0-9]*: Object \(.*props\) has no attribute \(Get\)$ +^partedUtils.py:[0-9]*: No module attribute \(__dict__\) found$ +^partedUtils.py:[0-9]*: No module attribute \(DEVICE_SX8\) found$ +^kickstart.py:[0-9]*: No global \(fileSystemTypeGet.*\) found$ +^upgrade.py:[0-9]*: No global \(getUsableLinuxFs\) found$ +^upgrade.py:[0-9]*: No global \(SwapFileDevice\) found$ +^upgrade.py:[0-9]*: No global \(fileSystemTypeGet\) found$ +^upgrade.py:[0-9]*: No global \(FileSystemSetEntry\) found$ +^upgrade.py:[0-9]*: No global \(readFstab\) found$ +Note this last line must never end with a newline
\ No newline at end of file |