Added flake8 test + compliance