Fixed pylint violations