pylint and PEP8 errors