only pep8 and very light idiomatic changes

Cool project, thank you.  I don't think you want this, but my linter was going batshit crazy...