conform style to python style guide