From 061d81b329343941cf89665d3669cfa018bdd801 Mon Sep 17 00:00:00 2001 From: Pedro Larroy Date: Wed, 9 Jan 2019 02:47:42 +0100 Subject: [PATCH] Fix pylint --- python/mxnet/gluon/utils.py | 2 +- python/mxnet/mxfeatures.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/mxnet/gluon/utils.py b/python/mxnet/gluon/utils.py index 78324986760a..55edd950d223 100644 --- a/python/mxnet/gluon/utils.py +++ b/python/mxnet/gluon/utils.py @@ -222,7 +222,7 @@ def _replace_atomic(src, dst): _MOVEFILE_WRITE_THROUGH = 0x8 _windows_default_flags = _MOVEFILE_WRITE_THROUGH - text_type = unicode if sys.version_info[0] == 2 else str # noqa + text_type = unicode if sys.version_info[0] == 2 else str # pylint: disable=undefined-variable def _str_to_unicode(x): """Handle text decoding. Internal use only""" diff --git a/python/mxnet/mxfeatures.py b/python/mxnet/mxfeatures.py index 54c9ddfe622b..22c94f423c59 100644 --- a/python/mxnet/mxfeatures.py +++ b/python/mxnet/mxfeatures.py @@ -16,7 +16,7 @@ # under the License. # coding: utf-8 -# pylint: disable=invalid-name, no-member, trailing-comma-tuple, bad-mcs-classmethod-argument +# pylint: disable=not-an-iterable """runtime detection of compile time features in the native library"""