changed the syntatic to use flake8