<commit_before>language: python
python:
  - "2.7"
env:
  global:
    - DB=postgres
  matrix:
    - DJANGO=1.6.2
install:
  - pip install -q coverage pep8 pyflakes Django==$DJANGO
before_script:
  - pep8 . --max-line-length=120 --exclude=migrations
  - find . -name '*.py' -not -regex '.*/migrations/.*' -not -regex '.*/__init__.py' -exec pyflakes '{}' \;
  - psql -c 'CREATE DATABASE localized_recurrence;' -U postgres
script:
  - coverage run --source='localized_recurrence' --branch setup.py test
  - coverage report --fail-under=100 --show-missing
<commit_msg>Switch to flake8<commit_after>language: python
python:
  - "2.7"
env:
  global:
    - DB=postgres
  matrix:
    - DJANGO=1.6.2
install:
  - pip install -q coverage flake8 Django==$DJANGO
before_script:
  - flake8 . --max-line-length=120 --max-complexity=10 --exclude='env,migrations,*.egg'
  - psql -c 'CREATE DATABASE localized_recurrence;' -U postgres
script:
  - coverage run --source='localized_recurrence' --branch setup.py test
  - coverage report --fail-under=100 --show-missing

{'fraction_non_alphanumeric': 0.15252621544327932, 'fraction_numerical': 0.027645376549094377, 'mean_word_length': 3.216867469879518, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4384300', 'n_tokens_mistral': 403, 'n_tokens_neox': 387, 'n_words': 91}