pep257 & flake8 compliance work