improved code quality with pylint