Compare commits
No commits in common. "master" and "release" have entirely different histories.
@ -411,8 +411,8 @@ def _annotations_to_properties(annotations: annotations_t, max_len: int = 126) -
|
||||
i = int(key)
|
||||
except ValueError as err:
|
||||
raise PatternError(f'Annotation key {key} is not convertable to an integer') from err
|
||||
if not (0 < i <= 126):
|
||||
raise PatternError(f'Annotation key {key} converts to {i} (must be in the range [1,126])')
|
||||
if not (0 < i < 126):
|
||||
raise PatternError(f'Annotation key {key} converts to {i} (must be in the range [1,125])')
|
||||
|
||||
val_strings = ' '.join(str(val) for val in vals)
|
||||
b = val_strings.encode()
|
||||
|
@ -123,7 +123,7 @@ class Circle(Shape):
|
||||
return self
|
||||
|
||||
def mirror(self, axis: int = 0) -> 'Circle': # noqa: ARG002 (axis unused)
|
||||
self.offset[axis - 1] *= -1
|
||||
self.offset *= -1
|
||||
return self
|
||||
|
||||
def scale_by(self, c: float) -> 'Circle':
|
||||
|
Loading…
x
Reference in New Issue
Block a user