Skip to content

Commit 588ce3d

Browse files
committed
pylint fixes
1 parent 616583a commit 588ce3d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

dash/development/validator.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,22 @@ def _validator_options_with_unique_values(self, field, value):
2828
if not isinstance(option_dict, dict):
2929
self._error(
3030
field,
31-
"The option at index {} is not a dictionary!"\
31+
"The option at index {} is not a dictionary!"
3232
.format(i)
3333
)
3434
if 'value' not in option_dict:
3535
self._error(
3636
field,
37-
"The option at index {} does not have a 'value' key!"\
37+
"The option at index {} does not have a 'value' key!"
3838
.format(i)
3939
)
4040
curr = option_dict['value']
4141
if curr in values:
4242
self._error(
4343
field,
4444
("The options list you provided was not valid. "
45-
"More than one of the options has the value {}.".format(curr))
45+
"More than one of the options has the value {}."
46+
.format(curr))
4647
)
4748
values.add(curr)
4849

0 commit comments

Comments
 (0)