summaryrefslogtreecommitdiff
path: root/lib/stitches/StitchPattern.py
diff options
context:
space:
mode:
authorKaalleen <reni@allenka.de>2022-01-29 09:53:50 +0100
committerKaalleen <reni@allenka.de>2022-05-04 19:04:44 +0200
commit82216b184c669d6dea26672e5c0771146e62ca39 (patch)
tree4ce9324418a71557c24c445afe1e0e388d4985c3 /lib/stitches/StitchPattern.py
parent95a933161616e5860862435d4b999db49b8e50a5 (diff)
remove some pattern and marker mixups and some style issues
Diffstat (limited to 'lib/stitches/StitchPattern.py')
-rw-r--r--lib/stitches/StitchPattern.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/stitches/StitchPattern.py b/lib/stitches/StitchPattern.py
index 62ef2b0f..4a38c0bc 100644
--- a/lib/stitches/StitchPattern.py
+++ b/lib/stitches/StitchPattern.py
@@ -159,8 +159,7 @@ def check_and_prepare_tree_for_valid_spiral(root):
return True
-def offset_poly(
- poly, offset, join_style, stitch_distance, offset_by_half, strategy, starting_point):
+def offset_poly(poly, offset, join_style, stitch_distance, offset_by_half, strategy, starting_point): # noqa: C901
"""
Takes a polygon (which can have holes) as input and creates offsetted
versions until the polygon is filled with these smaller offsets.