Make pylint stop nit-picking
Updated trim whitespace to return cursor to starting position