old_contents: # -*- coding: utf-8 -*-
  
  
  def has_no_django():
      try:
          import django
          return False
      except ImportError:
          return True
  
new_contents: # -*- coding: utf-8 -*-
  
  
  def has_no_django():
      try:
          import django  # noqa isort:skip
          return False
      except ImportError:
          return True
  
subject: Add noqa to conditional import