<commit_before>[tox]
envlist = py{27,32,33}-django{16,17,18},psql,pep8,coverage
[testenv]
deps =
    pytz
    PyYAML
    djangorestframework>=3.0
    django16: Django>=1.6,<1.7
    django17: Django>=1.7,<1.8
    django18: https://www.djangoproject.com/download/1.8b1/tarball/
    -rpip-test-requirements.txt
commands = py.test tests/
[testenv:psql]
deps =
    psycopg2
    -rpip-requirements.txt
    -rpip-test-requirements.txt
passenv = PGHOST PGDATABASE PGUSER PGPASSWORD
setenv =
    USE_POSTGRESQL_DATABASE=yes
commands = py.test tests/
[testenv:pep8]
deps = flake8
commands = flake8 caspy
[testenv:coverage]
deps =
    -rpip-requirements.txt
    -rpip-test-requirements.txt
commands = py.test --cov caspy/ tests/
[flake8]
ignore = E121,E126
<commit_msg>Test only compatible version combinations<commit_after>[tox]
envlist = py{27,33}-django{16,17},py{27,34,35}-django{18,19},psql,pep8,coverage
[testenv]
deps =
    pytz
    PyYAML
    django16: Django>=1.6,<1.7
    django16: djangorestframework>=3.0,<3.1
    django17: Django>=1.7,<1.8
    django17: djangorestframework>=3.1,<3.2
    django18: Django>=1.8,<1.9
    django18: djangorestframework>=3.2,<3.3
    django19: Django==1.9b1
    django19: djangorestframework>=3.3
    -rpip-test-requirements.txt
commands = py.test tests/
[testenv:psql]
deps =
    psycopg2
    -rpip-requirements.txt
    -rpip-test-requirements.txt
passenv = <PASSWORD> PGDATABASE PGUSER PGP<PASSWORD>
setenv =
    USE_POSTGRESQL_DATABASE=yes
commands = py.test tests/
[testenv:pep8]
deps = flake8
commands = flake8 caspy
[testenv:coverage]
deps =
    -rpip-requirements.txt
    -rpip-test-requirements.txt
commands = py.test --cov caspy/ tests/
[flake8]
ignore = E121,E126

{'fraction_non_alphanumeric': 0.13548387096774195, 'fraction_numerical': 0.06920821114369502, 'mean_word_length': 3.944927536231884, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3641400', 'n_tokens_mistral': 755, 'n_tokens_neox': 708, 'n_words': 115}