<commit_before># Tox (http://tox.testrun.org/) - run tests in multiple virtualenvs.
# Also contains configuration settings for all tools executed by Tox.

[tox]
envlist =
    flake8
    # Python/Django combinations that are officially supported
    py{27,34,35,36}-django111
    py{34,35,36,37}-django20
    py{35,36,37}-django21
    behave-latest
    bandit
    readme
    docs

[testenv]
deps =
    py27: mock
    pytest
    django111: Django>=1.11,<2.0
    django20: Django>=2.0,<2.1
    django21: Django>=2.1,<2.2
    latest: git+https://github.com/behave/behave.git#egg=behave
commands =
    pytest
    {envpython} tests/manage.py behave --simple --tags=~@failing --tags=~@requires-live-http --format=progress
    {envpython} tests/manage.py behave --tags=~@failing --format=progress

[testenv:bandit]
deps = bandit
commands = bandit --ini tox.ini

[testenv:docs]
deps = sphinx
changedir = docs
commands = make html
whitelist_externals = make

[testenv:flake8]
deps = flake8
commands = flake8

[testenv:readme]
deps = twine
commands =
    {envpython} setup.py sdist bdist_wheel
    twine check dist/*

[travis:env]
DJANGO =
    1.11: django111
    2.0: django20
    2.1: django21

[bandit]
exclude = .git,.idea,.tox,build,dist,docs,tests
recursive = true
targets = behave_django

[behave]
paths = tests/acceptance
        tests/test_app
show_skipped = no

[flake8]
exclude = docs,.cache,.tox,*.egg-info,.ropeproject

[tool:pytest]
testpaths = tests/unit<commit_msg>Bandit requires the -r option<commit_after># Tox (http://tox.testrun.org/) - run tests in multiple virtualenvs.
# Also contains configuration settings for all tools executed by Tox.

[tox]
envlist =
    flake8
    # Python/Django combinations that are officially supported
    py{27,34,35,36}-django111
    py{34,35,36,37}-django20
    py{35,36,37}-django21
    behave-latest
    bandit
    readme
    docs

[testenv]
deps =
    py27: mock
    pytest
    django111: Django>=1.11,<2.0
    django20: Django>=2.0,<2.1
    django21: Django>=2.1,<2.2
    latest: git+https://github.com/behave/behave.git#egg=behave
commands =
    pytest
    {envpython} tests/manage.py behave --simple --tags=~@failing --tags=~@requires-live-http --format=progress
    {envpython} tests/manage.py behave --tags=~@failing --format=progress

[testenv:bandit]
deps = bandit
commands = bandit -r --ini tox.ini

[testenv:docs]
deps = sphinx
changedir = docs
commands = make html
whitelist_externals = make

[testenv:flake8]
deps = flake8
commands = flake8

[testenv:readme]
deps = twine
commands =
    {envpython} setup.py sdist bdist_wheel
    twine check dist/*

[travis:env]
DJANGO =
    1.11: django111
    2.0: django20
    2.1: django21

[bandit]
exclude = .git,.idea,.tox,build,dist,docs,tests
targets = .

[behave]
paths = tests/acceptance
        tests/test_app
show_skipped = no

[flake8]
exclude = docs,.cache,.tox,*.egg-info,.ropeproject

[tool:pytest]
testpaths = tests/unit
{'fraction_non_alphanumeric': 0.12832764505119454, 'fraction_numerical': 0.04778156996587031, 'mean_word_length': 3.5796875, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '3410953', 'n_tokens_mistral': 1175, 'n_tokens_neox': 1087, 'n_words': 243}