Skip to content

Commit 8bda654

Browse files
committed
🐄🎱
1 parent a06b116 commit 8bda654

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

plotly/exceptions.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ class PlotlyLocalError(PlotlyError):
165165

166166
class PlotlyLocalCredentialsError(PlotlyLocalError):
167167
def __init__(self):
168-
message = ("\n"
168+
message = (
169+
"\n"
169170
"Couldn't find a 'username', 'api-key' pair for you on your local "
170171
"machine. To sign in temporarily (until you stop running Python), "
171172
"run:\n"
@@ -174,8 +175,10 @@ def __init__(self):
174175
"Even better, save your credentials permanently using the 'tools' "
175176
"module:\n"
176177
">>> import plotly.tools as tls\n"
177-
">>> tls.set_credentials_file(username='username', api_key='api-key')\n\n"
178-
"For more help, see https://plot.ly/python.\n")
178+
">>> tls.set_credentials_file(username='username', "
179+
"api_key='api-key')\n\n"
180+
"For more help, see https://plot.ly/python.\n"
181+
)
179182
super(PlotlyLocalCredentialsError, self).__init__(message)
180183

181184

0 commit comments

Comments
 (0)