Pylint and pep8 linter compliance