Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
larroy committed Jan 9, 2019
1 parent ba8d121 commit 061d81b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/mxnet/gluon/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down
2 changes: 1 addition & 1 deletion python/mxnet/mxfeatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""

Expand Down

0 comments on commit 061d81b

Please sign in to comment.