<commit_before>[tox]
envlist = py27, flake8

[testenv]
sitepackages = true
commands =
    py.test \
        --basetemp={envtmpdir} \
        --junit-xml=xunit-{envname}.xml \
        --cov=mopidy_pandora --cov-report=term-missing \
        {posargs}
deps =
    mock
    pytest
    pytest-capturelog
    pytest-cov
    pytest-xdist
    responses

[testenv:flake8]
skip_install = true
deps =
    flake8
    flake8-import-order
    pep8-naming
commands = flake8 --show-source --statistics --max-line-length 120 mopidy_pandora/ setup.py tests/<commit_msg>Add mopidy test dependency.<commit_after>[tox]
envlist = py27, flake8

[testenv]
sitepackages = true
install_command = pip install --allow-unverified=mopidy --pre {opts} {packages}
commands =
    py.test \
        --basetemp={envtmpdir} \
        --junit-xml=xunit-{envname}.xml \
        --cov=mopidy_pandora --cov-report=term-missing \
        {posargs}
deps =
    mock
    mopidy
    pytest
    pytest-capturelog
    pytest-cov
    pytest-xdist
    responses

[testenv:flake8]
skip_install = true
deps =
    flake8
    flake8-import-order
    pep8-naming
commands = flake8 --show-source --statistics --max-line-length 120 mopidy_pandora/ setup.py tests/
{'fraction_non_alphanumeric': 0.115990057995029, 'fraction_numerical': 0.018227009113504555, 'mean_word_length': 2.5845697329376853, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '3324112', 'n_tokens_mistral': 456, 'n_tokens_neox': 455, 'n_words': 84}