Test for import order errors with flake8