make flake8 quiet about exporting dynamically defined functions