[PATCH 1/2] Check for unused imports in __init__ files
Anne Mulhern
amulhern at redhat.com
Fri Feb 20 16:19:43 UTC 2015
----- Original Message -----
> From: "David Shea" <dshea at redhat.com>
> To: anaconda-patches at lists.fedorahosted.org
> Sent: Friday, February 20, 2015 9:56:18 AM
> Subject: [PATCH 1/2] Check for unused imports in __init__ files
>
> ---
> 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 [])' \
> --
> 2.1.0
>
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
>
Ack.
- mulhern
More information about the anaconda-patches
mailing list