Skip to content

Commit 6f83cf0

Browse files
committed
Fix unnecessary parens after 'not' keyword (superfluous-parens).
1 parent f70a332 commit 6f83cf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def update_session_plot_options(**kwargs):
132132
.format(key, PLOT_OPTIONS[key]))
133133

134134
# raise exception if sharing is invalid
135-
if (key == 'sharing' and not (kwargs[key] in SHARING_OPTIONS)):
135+
if key == 'sharing' and not (kwargs[key] in SHARING_OPTIONS):
136136
raise exceptions.PlotlyError("'{0}' must be of either '{1}', '{2}'"
137137
" or '{3}'"
138138
.format(key, *SHARING_OPTIONS))

0 commit comments

Comments
 (0)