Linted code to (mostly) PEP8 standard