prefer f-strings
This commit is contained in:
parent
3ec28d4720
commit
e7c8708f7f
6 changed files with 21 additions and 20 deletions
|
|
@ -322,7 +322,7 @@ class Path(Shape, metaclass=AutoSlots):
|
|||
bounds[0, :] = numpy.minimum(bounds[0, :], poly_bounds[0, :])
|
||||
bounds[1, :] = numpy.maximum(bounds[1, :], poly_bounds[1, :])
|
||||
else:
|
||||
raise PatternError('get_bounds() not implemented for endcaps: {}'.format(self.cap))
|
||||
raise PatternError(f'get_bounds() not implemented for endcaps: {self.cap}')
|
||||
|
||||
return bounds
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue