Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu Kernel Team (http://www.linux-archive.org/ubuntu-kernel-team/)
-   -   Ignore reimport warnings from pylint. (http://www.linux-archive.org/ubuntu-kernel-team/555272-ignore-reimport-warnings-pylint.html)

07-21-2011 05:42 PM

Ignore reimport warnings from pylint.
 
Ignore these. I'm going to send a more complete set.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

Chris Lumens 07-21-2011 06:21 PM

Ignore reimport warnings from pylint.
 
---
tests/pylint/runpylint.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/pylint/runpylint.sh b/tests/pylint/runpylint.sh
index 07fda64..5986f86 100755
--- a/tests/pylint/runpylint.sh
+++ b/tests/pylint/runpylint.sh
@@ -53,7 +53,7 @@ for i in pyanaconda/booty pyanaconda/storage pyanaconda/installclasses/*.py pyan
-i y -r n --disable=C,R --rcfile=/dev/null
--disable=W0511,W0403,W0703,W0622,W0614,W0401,W0142, W0613,W0621,W0141
--disable=W0102,W0201,W0221,W0702,W0602,W0603,W0604, W1001,W0223
- --disable=W0231,W0232,W0233
+ --disable=W0231,W0232,W0233,W0404
$NON_STRICT_OPTIONS $i |
egrep -v "`cat $FALSE_POSITIVES | tr '
' '|'`" > pylint-tmp-log
if grep -q -v '************* Module ' pylint-tmp-log; then
--
1.7.4.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

"Brian C. Lane" 07-22-2011 12:26 AM

Ignore reimport warnings from pylint.
 
Those all look good to me.

--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 06:11 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.