Resolve pylint violations