<commit_before>[tox]
; flake8 includes both pep8 and pyflakes :]
envlist = py27,py33,py34,flake8,doc,coverage

;
; test environnements
;
[testenv]
setenv = VIRTUAL_ENV={envdir}
         LANG=en_US.UTF-8
         LANGUAGE=en_US:en
         LC_ALL=C
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = python tests/tests.py

[testenv:flake8]
commands = flake8 collectd_transmission

[testenv:coverage]
commands = python -m coverage run tests/tests.py
           python -m coverage html
           coveralls

[testenv:doc]
commands = python setup.py build_sphinx --builder html
           python setup.py build_sphinx --builder text

;
; Commands configuration
;
[flake8]
; E501: line too long
exclude = .git,.venv,.tox,dist,doc,*.egg
show-source = true
ignore = E501<commit_msg>Only collect coverage report for our own code<commit_after>[tox]
; flake8 includes both pep8 and pyflakes :]
envlist = py27,py33,py34,flake8,doc,coverage

;
; test environnements
;
[testenv]
setenv = VIRTUAL_ENV={envdir}
         LANG=en_US.UTF-8
         LANGUAGE=en_US:en
         LC_ALL=C
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = python tests/tests.py

[testenv:flake8]
commands = flake8 collectd_transmission

[testenv:coverage]
commands = python -m coverage run --source collectd_transmission tests/tests.py
           python -m coverage html
           coveralls

[testenv:doc]
commands = python setup.py build_sphinx --builder html
           python setup.py build_sphinx --builder text

;
; Commands configuration
;
[flake8]
; E501: line too long
exclude = .git,.venv,.tox,dist,doc,*.egg
show-source = true
ignore = E501
{'fraction_non_alphanumeric': 0.09994683678894205, 'fraction_numerical': 0.020202020202020204, 'mean_word_length': 3.7766497461928936, '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': '3758817', 'n_tokens_mistral': 699, 'n_tokens_neox': 658, 'n_words': 154}