Remove space that causes breakage on old shells.
Additional blank line to follow PEP8.
Fix various flake8 warnings.