<commit_before>[pytest]
addopts = --reuse-db
DJANGO_SETTINGS_MODULE = tests.settings

# Add requirements to prevent pytest from discovering test.txt.
norecursedirs = .* requirements *.egg

[flake8]
max-line-length = 99
exclude = *migrations/*

[tox]
envlist=
    py27-django{17,18,19}
    flake8

[testenv]
deps =
    -r{toxinidir}/requirements/base.txt
    -r{toxinidir}/requirements/test.txt
    django17: Django~=1.7.0
    django18: Django~=1.8.0
    django19: Django~=1.9.0
    djangomaster: https://github.com/django/django/archive/master.tar.gz
commands = py.test
setenv =
    PES_BACKEND=mysql

[testenv:flake8]
skip_install = True
deps= flake8
commands= flake8 setup.py premis_event_service tests<commit_msg>add django 1.10 env to docker/mysql tox environments<commit_after>[pytest]
addopts = --reuse-db
DJANGO_SETTINGS_MODULE = tests.settings

# Add requirements to prevent pytest from discovering test.txt.
norecursedirs = .* requirements *.egg

[flake8]
max-line-length = 99
exclude = *migrations/*

[tox]
envlist=
    py27-django{17,18,19,110,master}
    flake8

[testenv]
deps =
    -r{toxinidir}/requirements/base.txt
    -r{toxinidir}/requirements/test.txt
    django17: Django~=1.7.0
    django18: Django~=1.8.0
    django19: Django~=1.9.0
    django110: Django~=1.10.0
    djangomaster: https://github.com/django/django/archive/master.tar.gz
commands = py.test
setenv =
    PES_BACKEND=mysql

[testenv:flake8]
skip_install = True
deps= flake8
commands= flake8 setup.py premis_event_service tests

[testenv:py27-djangomaster]
ignore_outcome = True
ignore_errors = True
{'fraction_non_alphanumeric': 0.12058080808080808, 'fraction_numerical': 0.04734848484848485, 'mean_word_length': 4.19672131147541, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '174937', 'n_tokens_mistral': 656, 'n_tokens_neox': 596, 'n_words': 115}