summaryrefslogtreecommitdiff
path: root/lib/stitch_plan/stitch.py
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2018-08-24 20:52:28 -0400
committerGitHub <noreply@github.com>2018-08-24 20:52:28 -0400
commit1de8487849a3f8f55d126e2687d690226e657fde (patch)
tree1bd891b97f8447cb3f513d073d20cea5d4534461 /lib/stitch_plan/stitch.py
parentb3bb975401fe4971170239eea9b928ee13161398 (diff)
parent91eb98cc33602f19dddc186c034aed968e048404 (diff)
Merge pull request #288 from inkstitch/lexelby/style
fix coding style and enforce style checks in build
Diffstat (limited to 'lib/stitch_plan/stitch.py')
-rw-r--r--lib/stitch_plan/stitch.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/stitch_plan/stitch.py b/lib/stitch_plan/stitch.py
index 5230efec..5fe10fb8 100644
--- a/lib/stitch_plan/stitch.py
+++ b/lib/stitch_plan/stitch.py
@@ -15,15 +15,15 @@ class Stitch(Point):
def __repr__(self):
return "Stitch(%s, %s, %s, %s, %s, %s, %s, %s%s)" % (self.x,
- self.y,
- self.color,
- "JUMP" if self.jump else " ",
- "TRIM" if self.trim else " ",
- "STOP" if self.stop else " ",
- "NO TIES" if self.no_ties else " ",
- "FAKE " if self.fake_color_change else "",
- "COLOR CHANGE" if self.color_change else " "
- )
+ self.y,
+ self.color,
+ "JUMP" if self.jump else " ",
+ "TRIM" if self.trim else " ",
+ "STOP" if self.stop else " ",
+ "NO TIES" if self.no_ties else " ",
+ "FAKE " if self.fake_color_change else "",
+ "COLOR CHANGE" if self.color_change else " "
+ )
def copy(self):
return Stitch(self.x, self.y, self.color, self.jump, self.stop, self.trim, self.color_change, self.no_ties)