more  pylint fixes to improve code quality