<commit_before>[tox]
envlist = py{36,35,34,33,27,26}
deps = -rrequirements.txt


[pytest]
pep8maxlinelength = 119
norecursedirs = .git .tox env coverage docs
pep8ignore =
    docs/conf.py ALL
    * E402


[testenv]
usedevelop = True
deps =
    -rrequirements.txt
    -rtest-requirements.txt

passenv = ANSIBLE_ASK_SUDO_PASS HOME LANG LC_ALL

commands =
    /bin/mkdir -p log
    py.test -q --basetemp={envtmpdir} --confcutdir=.. -n 1 \
        --junitxml=tests/junit.xml \
        --cov-report xml --cov viivakoodi \
        --cov-report=html \
        --cov-report term-missing \
        --pep8 \
        {posargs}


[testenv:docs]
changedir = docs
deps = -rdocs-requirements.txt

commands =<commit_msg>no need to create log directory.<commit_after>[tox]
envlist = py{36,35,34,33,27,26}
deps = -rrequirements.txt


[pytest]
pep8maxlinelength = 119
norecursedirs = .git .tox env coverage docs
pep8ignore =
    docs/conf.py ALL
    * E402


[testenv]
usedevelop = True
deps =
    -rrequirements.txt
    -rtest-requirements.txt

passenv = ANSIBLE_ASK_SUDO_PASS HOME LANG LC_ALL

commands =
    py.test -q --basetemp={envtmpdir} --confcutdir=.. -n 1 \
        --junitxml=tests/junit.xml \
        --cov-report xml --cov viivakoodi \
        --cov-report=html \
        --cov-report term-missing \
        --pep8 \
        {posargs}


[testenv:docs]
changedir = docs
deps = -rdocs-requirements.txt

commands =
{'fraction_non_alphanumeric': 0.12669039145907474, 'fraction_numerical': 0.03131672597864769, 'mean_word_length': 2.471604938271605, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '3641360', 'n_tokens_mistral': 584, 'n_tokens_neox': 534, 'n_words': 112}