Satisfy pylint, pep8 and pep257