Python coding convention "Wrong continued indentation before block: found by pylint
Pylint doesn't want such continuation to start on the same column as the next indentation block. Also, notice that the message includes a hint on columns that it considers correct.
Try putting the +
on the previous line:
if (remaining_obj.get_time() +
this_time <= self.max):
As a side note though, you might want to consider the factors that are causing your code to have to fit within ~40 characters - perhaps you have a few too many indentation levels and your code could be refactored to have fewer nested blocks.