From 6a5d1dd1fb9fdea12f4b3572e9e94fed05245d15 Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Wed, 16 May 2018 13:36:37 +0000 Subject: [PATCH] Fix pylint sanity CI build in sparse_ops.py Signed-off-by: Yong Tang --- tensorflow/python/ops/sparse_ops.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tensorflow/python/ops/sparse_ops.py b/tensorflow/python/ops/sparse_ops.py index 748900b..8e8a841 100644 --- a/tensorflow/python/ops/sparse_ops.py +++ b/tensorflow/python/ops/sparse_ops.py @@ -84,7 +84,8 @@ def _convert_to_sparse_tensors(sp_inputs): # pylint: disable=protected-access @tf_export("sparse_concat") -@deprecation.deprecated_args(None, "concat_dim is deprecated, use axis instead", "concat_dim") +@deprecation.deprecated_args( + None, "concat_dim is deprecated, use axis instead", "concat_dim") def sparse_concat(axis, sp_inputs, name=None, @@ -591,7 +592,8 @@ class KeywordRequired(object): @tf_export("sparse_split") -@deprecation.deprecated_args(None, "split_dim is deprecated, use axis instead", "split_dim") +@deprecation.deprecated_args( + None, "split_dim is deprecated, use axis instead", "split_dim") def sparse_split(keyword_required=KeywordRequired(), sp_input=None, num_split=None, -- 2.7.4