old_contents: #!/usr/bin/env python
  # -*- coding: UTF-8 -*-
  from app import create_app, celery
  
  import os
  
  app = create_app(os.getenv('FLASK_CONFIG') or 'default')
  app.app_context().push()
  
  from app.tasks import *
  
new_contents: #!/usr/bin/env python
  # -*- coding: UTF-8 -*-
  from app import create_app, celery
  
  import os
  
  app = create_app(os.getenv('FLASK_CONFIG') or 'default')
  
subject: delete tasks import after flask extension flask-celery-py3 improve