flake8, comments, and import_log* helpers