Skip to content

Commit fd6ebf1

Browse files
committed
style(exception): change the format of the message of DatasetTypeError
PR Closed: #1138
1 parent 0c4aa42 commit fd6ebf1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tensorbay/exception.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,10 @@ def __init__(
9898

9999
def __str__(self) -> str:
100100
if self._dataset_name and self._is_fusion:
101-
return f'Dataset "{self._dataset_name}" is \
102-
{"" if self._is_fusion else "not "}a fusion dataset'
101+
return (
102+
f'Dataset "{self._dataset_name}" is '
103+
f'{"" if self._is_fusion else "not "}a fusion dataset'
104+
)
103105
return super().__str__()
104106

105107

0 commit comments

Comments
 (0)