Skip to content

Commit 75bc617

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 23e18ed commit 75bc617

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/iris/cube.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,12 @@ def __str__(self):
174174

175175
def __repr__(self):
176176
"""Runs repr on every cube."""
177-
return '[%s]' % ',\n'.join([repr(cube) for cube in self])
177+
return "[%s]" % ",\n".join([repr(cube) for cube in self])
178178

179179
@staticmethod
180180
def _assert_is_cube(obj):
181181
if not isinstance(obj, Cube):
182-
msg = ("Object of type '{}' does not belong in a cubelist.")
182+
msg = "Object of type '{}' does not belong in a cubelist."
183183
raise ValueError(msg.format(type(obj).__name__))
184184

185185
@staticmethod

0 commit comments

Comments
 (0)