code: def check_coverage():
      
      with lcd(settings.LOCAL_COVERAGE_PATH):
          total_line = local('grep -n Total index.html', capture=True)
          match = re.search(r'^(\d+):', total_line)
          total_line_number = int(match.groups()[0])
          percentage_line_number = total_line_number + 5
          percentage_line = local(
              'awk NR=={0} index.html'.format(percentage_line_number),
              capture=True)
          match = re.search(r'(\d.+)%', percentage_line)
          try:
              percentage = float(match.groups()[0])
          except ValueError:
              # If there's no dotting try another search
              match = re.search(r'(\d+)%', percentage_line)
              percentage = float(match.groups()[0])
      if percentage < 100:
          abort(red('Coverage is {0}%'.format(percentage)))
      print(green('Coverage is {0}%'.format(percentage)))
docs: Checks if the coverage is 100%.