<commit_before>[tox]
envlist = py27, flake8

[testenv]
sitepackages = true
deps =
	pytest-cov
	pytest-xdist
	-rrequirements.txt
commands =
	py.test \
		-n 1 -v \
		--basetemp={envtmpdir} \
		--cov=mopidy_tachikoma --cov-report=term-missing \
		--cov-fail-under=100 \
		{posargs}

[testenv:flake8]
deps =
	flake8
	flake8-import-order
	-rrequirements.txt
skip_install = true
commands = flake8 --ignore=W191,I201<commit_msg>Lock down pytest versions to avoid coverage errors<commit_after>[tox]
envlist = py27, flake8

[testenv]
sitepackages = true
deps =
	pytest-cov==2.2.1
	pytest-xdist==1.14
	-rrequirements.txt
commands =
	py.test \
		-n 1 -v \
		--basetemp={envtmpdir} \
		--cov=mopidy_tachikoma --cov-report=term-missing \
		--cov-fail-under=100 \
		{posargs}

[testenv:flake8]
deps =
	flake8
	flake8-import-order
	-rrequirements.txt
skip_install = true
commands = flake8 --ignore=W191,I201
{'fraction_non_alphanumeric': 0.13789237668161436, 'fraction_numerical': 0.04484304932735426, 'mean_word_length': 3.626943005181347, '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': '2900762', 'n_tokens_mistral': 410, 'n_tokens_neox': 387, 'n_words': 68}