flake8 and statc file import simplification