Compare commits

..

No commits in common. "01f624cb6a970a87cefd0c47a61cfa2e97ae10f0" and "899d05217e2468115e5608038dcc8bd167cac4b3" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ def format_stacktrace(
if selected := stack[first_ok:last_ok + 1]:
pass
elif selected := stack[:-stacklevel]:
pass # noqa: SIM114 # separate elif for clarity
pass
else:
selected = stack
return ''.join(traceback.format_list(selected))

View File

@ -77,7 +77,7 @@ class PolyCollection(Shape):
return numpy.zeros(2)
@offset.setter
def offset(self, _val: ArrayLike) -> None:
def offset(self, val: ArrayLike) -> None:
raise PatternError('PolyCollection offset is forced to (0, 0)')
def set_offset(self, val: ArrayLike) -> Self: