<commit_before>[tox]
envlist = py33,docs,flake8

[testenv]
recreate = True
deps = flake8
    mock

commands =
    pip install -e {toxinidir}
    pip install -e {toxinidir}[postgres]
    pip install -e {toxinidir}[tests]
    py.test tests/ -v --cov mailme --cov-report term-missing

[testenv:flake8]
commands = flake8 mailme --ignore='E122,E124,E125,E126,E128,E501,F403' --exclude="**/migrations/**"
<commit_msg>Better ci integration<commit_after>[tox]
envlist = py33,ci,docs,flake8

[testenv]
recreate = True
deps = flake8
    mock

commands =
    pip install -e {toxinidir}
    pip install -e {toxinidir}[tests]
    py.test tests/ -v --cov mailme --cov-report term-missing

[testenv:ci]
commands =
    pip install -e {toxinidir}[postgres]
    pip install -e {toxinidir}[tests]
    psql -c 'create database mailme_test;' -U postgres
    py.test tests/ -v --cov mailme --cov-report term-missing

[testenv:flake8]
commands = flake8 mailme --ignore='E122,E124,E125,E126,E128,E501,F403' --exclude="**/migrations/**"

{'fraction_non_alphanumeric': 0.1442687747035573, 'fraction_numerical': 0.0533596837944664, 'mean_word_length': 3.800947867298578, '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': '5403327', 'n_tokens_mistral': 431, 'n_tokens_neox': 390, 'n_words': 92}