def isort(): """Use isort to automatically (re-)order the import statements on the top of files""" with lcd(_relative_to_fabfile()): local('isort **/*.py')