diff options
author | Chris Lumens <clumens@redhat.com> | 2010-06-01 17:14:21 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2010-06-01 17:14:21 -0400 |
commit | e6130aa3e232a9f291616ed108b2e49700a778ce (patch) | |
tree | 6f576562418a1db1b68add21f3514e79fd867e0c /tests/pylint/runpylint.sh | |
parent | 81f10a9414a02001f1423dc713a8c4a919a24bd4 (diff) | |
download | anaconda-e6130aa3e232a9f291616ed108b2e49700a778ce.tar.gz anaconda-e6130aa3e232a9f291616ed108b2e49700a778ce.tar.xz anaconda-e6130aa3e232a9f291616ed108b2e49700a778ce.zip |
Fix up pylint to work with the new source layout.
Diffstat (limited to 'tests/pylint/runpylint.sh')
-rwxr-xr-x | tests/pylint/runpylint.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/pylint/runpylint.sh b/tests/pylint/runpylint.sh index c7a2cc5a2..ae4aacef7 100755 --- a/tests/pylint/runpylint.sh +++ b/tests/pylint/runpylint.sh @@ -40,15 +40,16 @@ fi # run pylint one file / module at a time, otherwise it sometimes gets # confused > pylint-log -for i in booty storage installclasses/*.py iw/*.py textw/*.py isys/*.py *.py; do +for i in booty pyanaconda/storage pyanaconda/installclasses/*.py pyanaconda/iw/*.py pyanaconda/textw/*.py isys/*.py pyanaconda/; do pylint --init-hook='import sys; \ sys.path.insert(1, ".libs"); \ sys.path.insert(2, "isys/.libs"); \ sys.path.insert(3, "isys"); \ - sys.path.insert(4, "iw"); \ - sys.path.insert(5, "textw"); \ - sys.path.insert(6, "/usr/share/system-config-date"); \ - sys.path.insert(7, "/usr/share/system-config-keyboard")' \ + sys.path.insert(4, "pyanaconda"); \ + sys.path.insert(5, "pyanaconda/iw"); \ + sys.path.insert(6, "pyanaconda/textw"); \ + sys.path.insert(7, "/usr/share/system-config-date"); \ + sys.path.insert(8, "/usr/share/system-config-keyboard")' \ -i y -r n --disable-msg-cat=C,R --rcfile=/dev/null \ --disable-msg=W0511,W0403,W0703,W0622,W0614,W0401,W0142,W0613,W0621,W0141 \ --disable-msg=W0102,W0201,W0221,W0702,W0602,W0603,W0604,W1001,W0223 \ |