From dev-return-4317-archive-asf-public=cust-asf.ponee.io@singa.apache.org Sat Feb 22 03:58:09 2020 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 7D6B3180657 for ; Sat, 22 Feb 2020 04:58:09 +0100 (CET) Received: (qmail 13980 invoked by uid 500); 22 Feb 2020 03:58:08 -0000 Mailing-List: contact dev-help@singa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@singa.apache.org Delivered-To: mailing list dev@singa.apache.org Received: (qmail 13970 invoked by uid 99); 22 Feb 2020 03:58:08 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Feb 2020 03:58:08 +0000 From: GitBox To: dev@singa.apache.org Subject: [GitHub] [singa] chrishkchris commented on issue #599: Enabled linting check in CI Message-ID: <158234388858.4853.6353612267797814569.gitbox@gitbox.apache.org> References: In-Reply-To: Date: Sat, 22 Feb 2020 03:58:08 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit chrishkchris commented on issue #599: Enabled linting check in CI URL: https://github.com/apache/singa/pull/599#issuecomment-589915136 @dcslin I saw one interesting error: https://travis-ci.org/apache/singa/jobs/653724760#L2049 The error is caused because there is no long data type in python 3.X, long data type was used in python 2.X. https://stackoverflow.com/questions/2104884/how-does-python-manage-int-and-long However, this error will not cause any runtime error in python 3.X because the whole line is `if isinstance(repeats, int) or isinstance(repeats, long):` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services