Skip to content

Commit dd29405

Browse files
committed
pep:8ball:
1 parent 17b6378 commit dd29405

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

plotly/exceptions.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,10 @@ def __init__(self, obj, value, val_types, path=(), **kwargs):
122122
message = (
123123
"Invalid value type, '{value_name}', associated with key, "
124124
"'{key}', for class, '{obj_name}'.\nValid types for this key "
125-
"are:\n '{val_types}'.\n\nRun 'help(plotly.graph_objs.{obj_name})' "
126-
"for more information.".format(key=key,
127-
value_name=value.__class__.__name__,
128-
val_types=val_types,
129-
obj_name=obj.__class__.__name__)
125+
"are:\n '{val_types}'.\n\n"
126+
"Run 'help(plotly.graph_objs.{obj_name})' for more information."
127+
.format(key=key, value_name=value.__class__.__name__,
128+
val_types=val_types, obj_name=obj.__class__.__name__)
130129
)
131130
plain_message = ("Invalid value found in '{obj}' associated with key, "
132131
"'{key}'".format(key=key, obj=obj.__class__.__name__))

0 commit comments

Comments
 (0)