Cleaning pylint violations