<commit_before>[tox]
# pypy package not currently available for Debian 7.x, and Debian 8
# isn't available as a Vagant box yet. Will be skipped.
# TODO: Upgrade Vagrant to Debian 8 and install pypy once it's out.
envlist = py27, docs, pep8
skip_missing_interpreters = true

[testenv]
commands = python setup.py test
# Need this because I can't install smbus via pip
sitepackages = True
deps = 
    -r{toxinidir}/requirements.txt

[testenv:docs]
changedir = docs
deps =
    sphinx
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

[testenv:pep8]
deps = flake8
commands = flake8

[flake8]
show-source = True
exclude = .tox,docs/*,setup.py,*.egg<commit_msg>Ignore src/ dir in pep8 checks<commit_after>[tox]
# pypy package not currently available for Debian 7.x, and Debian 8
# isn't available as a Vagant box yet. Will be skipped.
# TODO: Upgrade Vagrant to Debian 8 and install pypy once it's out.
envlist = py27, docs, pep8
skip_missing_interpreters = true

[testenv]
commands = python setup.py test
# Need this because I can't install smbus via pip
sitepackages = True
deps = 
    -r{toxinidir}/requirements.txt

[testenv:docs]
changedir = docs
deps =
    sphinx
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

[testenv:pep8]
deps = flake8
commands = flake8

[flake8]
show-source = True
exclude = .tox,docs/*,setup.py,*.egg,src/*
{'fraction_non_alphanumeric': 0.10164638511095204, 'fraction_numerical': 0.015032211882605583, 'mean_word_length': 4.065217391304348, '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': '385420', 'n_tokens_mistral': 540, 'n_tokens_neox': 503, 'n_words': 166}