<commit_before>[tox]
envlist={py34,py35,py36,py37}-django{18,19,110,111,20,21}

[testenv]
basepython=
    py34: python3.4
    py35: python3.5
    py36: python3.6
    py37: python3.7
deps=
    pre-commit
    django18: django>=1.8.0,<1.9
    django19: django>=1.9.0,<1.10
    django110: django>=1.10.0,<1.11
    django111: django>=1.11.0,<1.12
    django20: django>=2.0.0,<2.1
    django21: django>=2.1.0,<2.2
commands =
   pre-commit run -a
   python loginas/tests/manage.py test tests --verbosity=2
<commit_msg>Only run pre-commit once<commit_after>[tox]
envlist={py34,py35,py36,py37}-django{18,19,110,111,20,21}

[testenv]
basepython=
    py34: python3.4
    py35: python3.5
    py36: python3.6
    py37: python3.7
deps=
    pre-commit
    django18: django>=1.8.0,<1.9
    django19: django>=1.9.0,<1.10
    django110: django>=1.10.0,<1.11
    django111: django>=1.11.0,<1.12
    django20: django>=2.0.0,<2.1
    django21: django>=2.1.0,<2.2
commands =
   bash -ec 'if [ "$TOX_ENV_NAME" == "py37-django21" ]; then pre-commit run -a; fi' {posargs}
   python loginas/tests/manage.py test tests --verbosity=2

{'fraction_non_alphanumeric': 0.17721518987341772, 'fraction_numerical': 0.162748643761302, 'mean_word_length': 3.358267716535433, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '3324057', 'n_tokens_mistral': 558, 'n_tokens_neox': 490, 'n_words': 81}