Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions tensorboard/compat/tensorflow_stub/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ def __str__(self):
# tf_export("errors.DATA_LOSS").export_constant(__name__, "DATA_LOSS")


# pylint: disable=line-too-long
# @tf_export("errors.CancelledError")
class CancelledError(OpError):
"""Raised when an operation or step is cancelled.
Expand All @@ -200,7 +199,6 @@ def __init__(self, node_def, op, message):
super(CancelledError, self).__init__(node_def, op, message, CANCELLED)


# pylint: enable=line-too-long


# @tf_export("errors.UnknownError")
Expand Down
4 changes: 0 additions & 4 deletions tensorboard/plugins/debugger/debugger_plugin_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,7 @@ def load(self, context):
' pip install tensorflow')

if flags.debugger_data_server_grpc_port > 0:
# pylint: disable=line-too-long
from tensorboard.plugins.debugger import debugger_plugin as debugger_plugin_lib
# pylint: enable=line-too-long

# debugger_data_server_grpc opens the non-interactive Debugger Plugin,
# which appears as health pills in the Graph Plugin.
Expand All @@ -148,9 +146,7 @@ def load(self, context):
noninteractive_plugin.listen(flags.debugger_data_server_grpc_port)
return noninteractive_plugin
elif flags.debugger_port > 0:
# pylint: disable=line-too-long
from tensorboard.plugins.debugger import interactive_debugger_plugin as interactive_debugger_plugin_lib
# pylint: enable=line-too-long
interactive_plugin = (
interactive_debugger_plugin_lib.InteractiveDebuggerPlugin(context))
logger.info('Starting Interactive Debugger Plugin at gRPC port %d',
Expand Down
2 changes: 0 additions & 2 deletions tensorboard/plugins/debugger/debugger_server_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@
from tensorflow.python.debug.lib import grpc_debug_server

from tensorboard.plugins.debugger import constants
# pylint: disable=line-too-long
from tensorboard.plugins.debugger import events_writer_manager as events_writer_manager_lib
# pylint: enable=line-too-long
from tensorboard.plugins.debugger import numerics_alert
from tensorboard.util import tb_logging
from tensorboard.util import tensor_util
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,5 @@ def load(self, context):
import tensorflow
except ImportError:
return
# pylint: disable=line-too-long
from tensorboard.plugins.interactive_inference.interactive_inference_plugin import InteractiveInferencePlugin
return InteractiveInferencePlugin(context)