From dev-return-3771-archive-asf-public=cust-asf.ponee.io@mxnet.incubator.apache.org Fri Jul 27 07:16:46 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5D165180657 for ; Fri, 27 Jul 2018 07:16:45 +0200 (CEST) Received: (qmail 55266 invoked by uid 500); 27 Jul 2018 05:16:44 -0000 Mailing-List: contact dev-help@mxnet.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mxnet.incubator.apache.org Delivered-To: mailing list dev@mxnet.incubator.apache.org Delivered-To: moderator for dev@mxnet.incubator.apache.org Received: (qmail 98038 invoked by uid 99); 26 Jul 2018 23:17:51 -0000 X-Mailer: LuaSocket 3.0-rc1 x-ponymail-agent: PonyMail Composer/0.3 References: In-Reply-To: MIME-Version: 1.0 Message-ID: x-ponymail-sender: 704c78ea5d0826d5ac2afb20b131b6668b725141 Subject: Pylint Undefined variable/name error To: Date: Thu, 26 Jul 2018 23:17:50 -0000 From: Vandana Kannan Content-Type: text/plain; charset=utf-8 Hi All, On enabling the option "undefined-variable" in pylint (in pylintrc) and executing on the latest code, 52 errors show up (most of them from the example folder). These could lead to Python NameError at runtime. The errors are documented in https://github.com/apache/incubator-mxnet/issues/11904. Currently, this Pylint option is disabled in CI and pylint is not executed on the example folder. Would it be a good idea to enable the option in CI to catch these errors, and in the meantime, fix the backlog? Thanks, Vandana