<commit_before>[tox]
envlist = py{27,36}-django111-drf{37,38,39,latest}, py36-django{20,21}-drf{latest}, quality

[testenv]
setenv =
    DJANGO_SETTINGS_MODULE = test_settings
    PYTHONPATH = {toxinidir}

deps =
    django111: Django>=1.11,<2.0
    django20: Django>=2.0,<2.1
    django21: Django>=2.1,<2.2
    drf37: djangorestframework<3.8
    drf38: djangorestframework<3.9
    drf39: djangorestframework<4.0
    drflatest: djangorestframework
    -rtest-requirements.txt

commands =
    django-admin.py test organizations --with-coverage --cover-package=organizations
    coverage report

[testenv:quality]
commands =
    pep8 --config=.pep8 organizations
    pylint --rcfile=pylintrc organizations

[travis]
# This is a low-tech way to get things tested on travis. To do it right, we need
# to write a .travis.yml that lists out all the environments separately.
python =
    2.7: py27-django111-drf36, py27-django111-drf37, py27-django111-drf38, py27-django111-drf39, py27-django111-drflatest
    3.6: py36-django111-drf36, py36-django111-drf37, py36-django111-drf38, py36-django111-drf39, py36-django111-drflatest<commit_msg>Also test with the current drf<commit_after>[tox]
envlist = py{27,36}-django111-drf{36,37,38,39,latest}, py36-django{20,21}-drf{latest}, quality

[testenv]
setenv =
    DJANGO_SETTINGS_MODULE = test_settings
    PYTHONPATH = {toxinidir}

deps =
    django111: Django>=1.11,<2.0
    django20: Django>=2.0,<2.1
    django21: Django>=2.1,<2.2
    drf36: djangorestframework<3.7
    drf37: djangorestframework<3.8
    drf38: djangorestframework<3.9
    drf39: djangorestframework<4.0
    drflatest: djangorestframework
    -rtest-requirements.txt

commands =
    django-admin.py test organizations --with-coverage --cover-package=organizations
    coverage report

[testenv:quality]
commands =
    pep8 --config=.pep8 organizations
    pylint --rcfile=pylintrc organizations

[travis]
# This is a low-tech way to get things tested on travis. To do it right, we need
# to write a .travis.yml that lists out all the environments separately.
python =
    2.7: py27-django111-drf36, py27-django111-drf37, py27-django111-drf38, py27-django111-drf39, py27-django111-drflatest
    3.6: py36-django111-drf36, py36-django111-drf37, py36-django111-drf38, py36-django111-drf39, py36-django111-drflatest
{'fraction_non_alphanumeric': 0.11470461405778352, 'fraction_numerical': 0.10866752910737387, 'mean_word_length': 4.144124168514413, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 9, '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': '3880618', 'n_tokens_mistral': 1015, 'n_tokens_neox': 889, 'n_words': 176}