Applied pylint to my code