Adding pytest-pep8 and pytest-flakes and applying changes identified by such tools.