Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0A4A7200B65 for ; Wed, 17 Aug 2016 22:05:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 08BE5160A6C; Wed, 17 Aug 2016 20:05:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 34C40160A8C for ; Wed, 17 Aug 2016 22:05:22 +0200 (CEST) Received: (qmail 5443 invoked by uid 500); 17 Aug 2016 20:05:21 -0000 Mailing-List: contact notifications-help@yetus.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@yetus.apache.org Delivered-To: mailing list notifications@yetus.apache.org Received: (qmail 5434 invoked by uid 99); 17 Aug 2016 20:05:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2016 20:05:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 913D22C02A6 for ; Wed, 17 Aug 2016 20:05:20 +0000 (UTC) Date: Wed, 17 Aug 2016 20:05:20 +0000 (UTC) From: "Dima Spivak (JIRA)" To: notifications@yetus.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YETUS-309) pylint plugin false positives MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 17 Aug 2016 20:05:23 -0000 [ https://issues.apache.org/jira/browse/YETUS-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dima Spivak updated YETUS-309: ------------------------------ Attachment: (was: YETUS-309.99.patch) > pylint plugin false positives > ----------------------------- > > Key: YETUS-309 > URL: https://issues.apache.org/jira/browse/YETUS-309 > Project: Yetus > Issue Type: Bug > Components: Test Patch > Affects Versions: 0.1.0 > Reporter: Sean Busbey > Assignee: Dima Spivak > Attachments: YETUS-309.00.patch, YETUS-309.99.patch > > > the pylint plugin is flagging some changes as failures when the pylint utility returns a success return code because of INFO level messages about local disables. > e.g. in a patch that removes all outstanding issues but has to use local disables in some cases, test-patch returns a -1 and the diff contains only: > {code} > some/path/to/script.py:53: [I0011(locally-disabled), ] Locally disabling no-member (E1101) > some/path/to/script.py:54: [I0011(locally-disabled), ] Locally disabling no-member (E1101) > some/path/to/script.py:55: [I0011(locally-disabled), ] Locally disabling no-member (E1101) > some/path/to/script.py:56: [I0011(locally-disabled), ] Locally disabling no-member (E1101) > some/path/to/script.py:57: [I0011(locally-disabled), ] Locally disabling no-member (E1101) > some/path/to/script.py:58: [I0011(locally-disabled), ] Locally disabling no-member (E1101) > {code} > In this particular case, the code uses dynamic attributes, which pylint in python 2.x can't handle. In general, things at the INFO level (IXXXX) shouldn't cause a failure. Or at a minimum personalities should be able to opt-in to it not failing without overriding the log output filter. -- This message was sent by Atlassian JIRA (v6.3.4#6332)