<commit_before>[tox]
toxworkdir = {toxinidir}/var/tox
envlist = test

[testenv]
usedevelop=True
changedir = test
commands =
    py.test {posargs}
deps =
    -r{toxinidir}/requirements-dev.txt
    -r{toxinidir}/requirements.txt

[testenv:testcov]
commands=
    py.test \
	--cov={toxinidir}/selweb \
	--cov-report=term-missing \
	--cov-config {toxinidir}/.coveragerc \
	{posargs}

[testenv:test]

[testenv:flake8]
changedir = {toxinidir}
deps = flake8
commands = flake8 setup.py selweb test

# Options for pytest
[pytest]<commit_msg>Change tox's default test dir to unit tests only<commit_after>[tox]
toxworkdir = {toxinidir}/var/tox
envlist = test

[testenv]
usedevelop=True
changedir = test/unit
commands =
    py.test {posargs}
deps =
    -r{toxinidir}/requirements-dev.txt
    -r{toxinidir}/requirements.txt

[testenv:testcov]
commands=
    py.test \
	--cov={toxinidir}/selweb \
	--cov-report=term-missing \
	--cov-config {toxinidir}/.coveragerc \
	{posargs}

[testenv:test]

[testenv:flake8]
changedir = {toxinidir}
deps = flake8
commands = flake8 setup.py selweb test

# Options for pytest
[pytest]
{'fraction_non_alphanumeric': 0.13793103448275862, 'fraction_numerical': 0.0054446460980036296, 'mean_word_length': 4.106481481481482, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6548457', 'n_tokens_mistral': 465, 'n_tokens_neox': 446, 'n_words': 83}