[master 5/30] Check for unused imports in __init__ files

KosiehBarter installerbot-noreply at redhat.com
Thu Jul 16 12:00:29 UTC 2015


From: David Shea <dshea at redhat.com>

---
 tests/pylint/pylint-one.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/pylint/pylint-one.sh b/tests/pylint/pylint-one.sh
index d21df61..8a88f59 100755
--- a/tests/pylint/pylint-one.sh
+++ b/tests/pylint/pylint-one.sh
@@ -19,6 +19,7 @@ pylint_output="$(pylint \
     --ignored-classes=DefaultInstall,Popen,QueueFactory,TransactionSet \
     --defining-attr-methods=__init__,_grabObjects,initialize,reset,start,setUp \
     --load-plugins=intl,preconf,markup,eintr,pointless-override,environ \
+    --init-import=y \
     --init-hook=\
 'import gi.overrides, os;
 gi.overrides.__path__[0:0] = (os.environ["ANACONDA_WIDGETS_OVERRIDES"].split(":") if "ANACONDA_WIDGETS_OVERRIDES" in os.environ else [])' \


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/c0f987a4919a8de1c2cd7ba9491e087886083bdc


More information about the anaconda-patches mailing list