<commit_before>[tox]
envlist = py{27,34}-django{15,16,17,18,master}{,-taggit}{,-genericm2m}{,-mysql,-postgresql}, py27-django14, pypy{,3}-djangostable{,-taggit}{,-genericm2m}

[testenv]
usedevelop = true
commands = 
    sql: test_project/manage.py syncdb || true
    sql: test_project/manage.py migrate
    py.test --strict -r fEsxXw {posargs:autocomplete_light}
whitelist_externals =
deps =
    django14: Django>=1.4,<1.5
    django15: Django>=1.5,<1.6
    django16: Django>=1.6,<1.7
    django17: Django>=1.7,<1.8
    django18: Django>=1.8,<1.9
    djangostable: Django>=1.8,<1.9
    djangomaster: https://github.com/django/django/archive/master.tar.gz
    -rtest_project/test_requirements_without_django.txt
    taggit: django-taggit
    genericm2m: django-generic-m2m
    postgresql: psycopg2
    mysql: mysql-python
setenv =
    DJANGO_SETTINGS_MODULE=test_project.settings
    PIP_ALLOW_EXTERNAL=true
    PYTHONPATH=test_project
    postgresql: DJANGO_SETTINGS_MODULE=test_project.settings_postgres
    mysql: DJANGO_SETTINGS_MODULE=test_project.settings_mysql
passenv = TESTS_SKIP_LIVESERVER TESTS_WEBDRIVER

[testenv:checkqa]
basepython = python3.4
commands = flake8 autocomplete_light
deps = flake8

[testenv:checkqa-python2]
basepython = python2.7
commands = flake8 autocomplete_light
deps = flake8<commit_msg>tox.ini: add DISPLAY to passenv<commit_after>[tox]
envlist = py{27,34}-django{15,16,17,18,master}{,-taggit}{,-genericm2m}{,-mysql,-postgresql}, py27-django14, pypy{,3}-djangostable{,-taggit}{,-genericm2m}

[testenv]
usedevelop = true
commands = 
    sql: test_project/manage.py syncdb || true
    sql: test_project/manage.py migrate
    py.test --strict -r fEsxXw {posargs:autocomplete_light}
whitelist_externals =
deps =
    django14: Django>=1.4,<1.5
    django15: Django>=1.5,<1.6
    django16: Django>=1.6,<1.7
    django17: Django>=1.7,<1.8
    django18: Django>=1.8,<1.9
    djangostable: Django>=1.8,<1.9
    djangomaster: https://github.com/django/django/archive/master.tar.gz
    -rtest_project/test_requirements_without_django.txt
    taggit: django-taggit
    genericm2m: django-generic-m2m
    postgresql: psycopg2
    mysql: mysql-python
setenv =
    DJANGO_SETTINGS_MODULE=test_project.settings
    PIP_ALLOW_EXTERNAL=true
    PYTHONPATH=test_project
    postgresql: DJANGO_SETTINGS_MODULE=test_project.settings_postgres
    mysql: DJANGO_SETTINGS_MODULE=test_project.settings_mysql
passenv = TESTS_SKIP_LIVESERVER TESTS_WEBDRIVER DISPLAY

[testenv:checkqa]
basepython = python3.4
commands = flake8 autocomplete_light
deps = flake8

[testenv:checkqa-python2]
basepython = python2.7
commands = flake8 autocomplete_light
deps = flake8
{'fraction_non_alphanumeric': 0.11852963240810202, 'fraction_numerical': 0.04876219054763691, 'mean_word_length': 4.939866369710468, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '7667662', 'n_tokens_mistral': 1091, 'n_tokens_neox': 1033, 'n_words': 150}