Recently I had an issue where someone had checked in ^M line ends to a few files into github. When I open the file in atom, I see something like the following:

import loggingfrom django.db import modelslogger = logging.getLogger(__name__)all_filters =

To fix this, simply open vim and execute the following command: %s/\r/\r/g