<commit_before>[tox]
envlist = py26,py27,py33,py34,pypy,analysis,coverage
[testenv]
deps = -r{toxinidir}/tools/test-requirements.txt
commands = nosetests

[testenv:coverage]
basepython = python2.7
commands = nosetests \
                     --with-coverage \
                     --cover-min-percentage=79 \
                     --cover-erase \
                     --cover-package=SoftLayer \
                     --cover-html

[testenv:analysis]
basepython = python2.7
deps =
    -r{toxinidir}/tools/test-requirements.txt
    hacking
    pylint
commands =
    flake8 SoftLayer
    pylint SoftLayer \
           -r n \ # Don't show the long report
           --ignore=tests,fixtures \
           -d too-many-locals \ # Too many local variables
           -d star-args \       # Used * or ** magic
           -d I0011 \           # Locally Disabling
           --max-args=20 \
           --max-branches=40 \
           --max-statements=86 \
           --max-returns=8 \
           --min-public-methods=0 \
           --min-similarity-lines=30
    pylint SoftLayer/testing/fixtures \
          -d invalid-name \      # Fixtures don't follow proper naming conventions
          -d missing-docstring \ # Fixtures don't have docstrings
          --max-module-lines=2000 \
          --min-similarity-lines=50 \
          -r n<commit_msg>changing max limits<commit_after>[tox]
envlist = py26,py27,py33,py34,pypy,analysis,coverage
[testenv]
deps = -r{toxinidir}/tools/test-requirements.txt
commands = nosetests

[testenv:coverage]
basepython = python2.7
commands = nosetests \
                     --with-coverage \
                     --cover-min-percentage=79 \
                     --cover-erase \
                     --cover-package=SoftLayer \
                     --cover-html

[testenv:analysis]
basepython = python2.7
deps =
    -r{toxinidir}/tools/test-requirements.txt
    hacking
    pylint
commands =
    flake8 SoftLayer
    pylint SoftLayer \
           -r n \ # Don't show the long report
           --ignore=tests,fixtures \
           -d too-many-locals \ # Too many local variables
           -d star-args \       # Used * or ** magic
           -d I0011 \           # Locally Disabling
           --max-args=20 \
           --max-branches=40 \
           --max-statements=87 \
           --max-returns=8 \
           --min-public-methods=0 \
           --min-similarity-lines=30
    pylint SoftLayer/testing/fixtures \
          -d invalid-name \      # Fixtures don't follow proper naming conventions
          -d missing-docstring \ # Fixtures don't have docstrings
          --max-module-lines=2000 \
          --min-similarity-lines=50 \
          -r n
{'fraction_non_alphanumeric': 0.11086142322097378, 'fraction_numerical': 0.026217228464419477, 'mean_word_length': 1.507981220657277, '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': '3964450', 'n_tokens_mistral': 867, 'n_tokens_neox': 802, 'n_words': 159}