Correct pylint violations