[PATCH] Update runpylint.sh for pylint 1.0.0

Vratislav Podzimek vpodzime at redhat.com
Mon Aug 19 07:09:52 UTC 2013


On Fri, 2013-08-16 at 15:47 -0700, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl at redhat.com>
> 
> pylint dropped --include-ids and changed how ouput is generated, now you
> can use a template to specify exactly how you want it to look.
> ---
>  tests/pylint/runpylint.sh | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/pylint/runpylint.sh b/tests/pylint/runpylint.sh
> index 2b1d66c..91fe65e 100755
> --- a/tests/pylint/runpylint.sh
> +++ b/tests/pylint/runpylint.sh
> @@ -61,7 +61,8 @@ for i in anaconda $(find pyanaconda -type f -name '*py' \! -executable); do
>        sys.path.insert(1, "pyanaconda/isys/.libs"); \
>        sys.path.insert(2, "pyanaconda/isys"); \
>        sys.path.insert(3, "pyanaconda")' \
> -    -i y -r n --disable=C,R --rcfile=/dev/null \
> +    --msg-template='{msg_id}:{line:3d},{column}: {obj}: {msg}' \
> +    -r n --disable=C,R --rcfile=/dev/null \
>      --ignored-classes=DefaultInstall,Popen,QueueFactory,TransactionSet \
>      --defining-attr-methods=__init__,_grabObjects,initialize,reset,start \
>      $DISABLED_WARN_OPTIONS \
ACK.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list