Pytest/Unittest Flask Remarks: E402 are ignored by flake8, because some import cannot be placed on the top of the file (market/init.py, tests/test_routes.py) All configurations of flake8 and mypy can be found at setup.cfg