From e85f9473fc5e7015ab70321a69989154ced0da08 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 8 Oct 2018 12:54:33 -0400 Subject: [PATCH] stepper: Wrap lines to 80 columns Signed-off-by: Kevin O'Connor --- klippy/stepper.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/klippy/stepper.py b/klippy/stepper.py index 48706178..ce262006 100644 --- a/klippy/stepper.py +++ b/klippy/stepper.py @@ -145,7 +145,8 @@ class PrinterRail: " position_min and position_max" % config.get_name()) # Homing mechanics self.homing_speed = config.getfloat('homing_speed', 5.0, above=0.) - self.second_homing_speed = config.getfloat('second_homing_speed', self.homing_speed/2., above=0.) + self.second_homing_speed = config.getfloat( + 'second_homing_speed', self.homing_speed/2., above=0.) self.homing_retract_dist = config.getfloat( 'homing_retract_dist', 5., minval=0.) self.homing_positive_dir = config.getboolean( @@ -221,9 +222,11 @@ class PrinterRail: return self.position_min, self.position_max def get_homing_info(self): homing_info = collections.namedtuple('homing_info', [ - 'speed', 'position_endstop', 'retract_dist', 'positive_dir', 'second_homing_speed'])( + 'speed', 'position_endstop', 'retract_dist', 'positive_dir', + 'second_homing_speed'])( self.homing_speed, self.position_endstop, - self.homing_retract_dist, self.homing_positive_dir, self.second_homing_speed) + self.homing_retract_dist, self.homing_positive_dir, + self.second_homing_speed) return homing_info def get_steppers(self): return list(self.steppers)