followed flake8 syntax rules