pep8 compliant, excepting assert and exception statements