          return renaming
  
      @staticmethod
      def get_avg_score_hist(img1, references):
          scores = []
          for img2 in references:
              score = cv2.compareHist(img1, img2, cv2.HISTCMP_BHATTACHARYYA)
              scores.append(score)
          return sum(scores) / len(scores)
  
 
</s> remove 
            return renaming
 </s> add         return renaming </s> remove     def calc_landmarks_face_pitch(fl):  # unused
        t = ((fl[6][1] - fl[8][1]) + (fl[10][1] - fl[8][1])) / 2.0
        b = fl[8][1]
        return b - t
 </s> add     def calc_landmarks_face_pitch(flm):
        """ UNUSED - Calculate the amount of pitch in a face """
        var_t = ((flm[6][1] - flm[8][1]) + (flm[10][1] - flm[8][1])) / 2.0
        var_b = flm[8][1]
        return var_b - var_t </s> remove             img_list[i + 1] = img_list[j_min_score]
            img_list[j_min_score] = img_list[i + 1]

 </s> add             (img_list[i + 1],
             img_list[j_min_score]) = (img_list[j_min_score],
                                       img_list[i + 1])
        """ Return the average histogram score between a face and
            reference image """
          return renaming
  
      @staticmethod
      def get_avg_score_hist(img1, references):
        """ Return the average histogram score between a face and
            reference image """
          scores = []
          for img2 in references:
              score = cv2.compareHist(img1, img2, cv2.HISTCMP_BHATTACHARYYA)
              scores.append(score)
          return sum(scores) / len(scores)
  
keep keep keep add keep keep keep keep keep keep
 Sort tool bugfixes and linting 
tools/sort.py