  }
  
  FLAKE8_ARGS = ['rest_framework', 'tests']
  
  ISORT_ARGS = ['--recursive', '--check-only', '-o' 'uritemplate', '-p', 'tests', 'rest_framework', 'tests']
  
  
  def exit_on_failure(ret, message=None):
      if ret:
          sys.exit(ret)
 
</s> remove from setuptools import setup, find_packages
 </s> add from setuptools import find_packages, setup </s> remove from django.test.client import RequestFactory as DjangoRequestFactory
 </s> add 
ISORT_ARGS = ['--recursive', '--check-only', '--diff', '-o' 'uritemplate', '-p', 'tests', 'rest_framework', 'tests']
  }
  
  FLAKE8_ARGS = ['rest_framework', 'tests']
  
ISORT_ARGS = ['--recursive', '--check-only', '--diff', '-o' 'uritemplate', '-p', 'tests', 'rest_framework', 'tests']
  
  
  def exit_on_failure(ret, message=None):
      if ret:
          sys.exit(ret)
keep keep keep keep replace keep keep keep keep keep
 Upgrade isort (#5817)

* Fix isort

* runtests: add --diff to ISORT_ARGS

* requirements-codestyle: bump isort to 4.3.3

* isort: move config to setup.cfg 
runtests.py