flake8 fixups
adds code style tester