<commit_before>#!/usr/bin/env python

import os
import sys

from lib.util import rm_rf


SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))


def main():
  os.chdir(SOURCE_ROOT)
  rm_rf('node_modules')
  rm_rf('dist')
  rm_rf('out')
  rm_rf('spec/node_modules')
  rm_rf('vendor/brightray/vendor/download/libchromiumcontent')


if __name__ == '__main__':
  sys.exit(main())<commit_msg>Ignore Windows errors in clean.py<commit_after>#!/usr/bin/env python

import os
import sys

from lib.util import rm_rf


SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))


def main():
  os.chdir(SOURCE_ROOT)
  try:
    rm_rf('node_modules')
    rm_rf('dist')
    rm_rf('out')
    rm_rf('spec/node_modules')
    rm_rf('vendor/brightray/vendor/download/libchromiumcontent')
  except WindowsError:  # pylint: disable=E0602
    pass


if __name__ == '__main__':
  sys.exit(main())
{'fraction_non_alphanumeric': 0.14537444933920704, 'fraction_numerical': 0.004405286343612335, 'mean_word_length': 4.68125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2920161', 'n_tokens_mistral': 357, 'n_tokens_neox': 341, 'n_words': 57}