<NME> tox.ini
<BEF> [testenv:bootstrap]
deps =
    jinja2
    tox
skip_install = true
commands =
    python ci/bootstrap.py --no-env
passenv =
    *
; a generative tox configuration, see: https://tox.readthedocs.io/en/latest/config.html#generative-envlist
commands =
    bash -c "rm .coverage* || true"
    #{envbindir}/nosetests --with-coverage --cover-branches {toxinidir}/tests/test_manhole.py -v --nocapture --nologcapture
    coverage run --parallel-mode {toxinidir}/tests/test_manhole.py -v
    sleep 1
    ls
    coverage combine
    report
ignore_basepython_conflict = true

[testenv]
basepython =
    pypy: {env:TOXPYTHON:pypy}
    pypy37: {env:TOXPYTHON:pypy3.7}
    pypy38: {env:TOXPYTHON:pypy3.8}
    py27: {env:TOXPYTHON:python2.7}
    py36: {env:TOXPYTHON:python3.6}
    py37: {env:TOXPYTHON:python3.7}
    py38: {env:TOXPYTHON:python3.8}
    py39: {env:TOXPYTHON:python3.9}
    {bootstrap,clean,check,report,docs,codecov,coveralls}: {env:TOXPYTHON:python3}
setenv =
    PYTHONPATH={toxinidir}/tests
    PYTHONUNBUFFERED=yes
passenv =
    *
usedevelop =
    cover: true
    nocov: false
deps =
    pytest
    cover: pytest-cov
    requests
    process-tests
    py27: subprocess32
    eventlet: eventlet==0.30.2
    gevent: gevent==21.1.2
    {py27,py36,py37,py38,py39,py310}: uwsgi==2.0.20
commands =
    nocov: {posargs:pytest -vv --ignore=src}
    cover: {posargs:pytest --cov --cov-report=term-missing -vv}

[testenv:check]
deps =
    docutils
    check-manifest
    flake8
    readme-renderer
    pygments
    isort
skip_install = true
commands =
    python setup.py check --strict --metadata --restructuredtext
    check-manifest {toxinidir}
    flake8
    isort --verbose --check-only --diff --filter-files .

[testenv:docs]
usedevelop = true
deps =
    -r{toxinidir}/docs/requirements.txt
commands =
    sphinx-build {posargs:-E} -b html docs dist/docs
    sphinx-build -b linkcheck docs dist/docs

[testenv:coveralls]
deps =
    coveralls
skip_install = true
commands =
    coveralls []

[testenv:codecov]
deps =
    codecov
skip_install = true
commands =
    codecov []

[testenv:report]
deps =
    coverage
skip_install = true
commands =
    coverage report
    coverage html

[testenv:clean]
commands = coverage erase
skip_install = true
deps =
    coverage

<MSG> Only cover src.

<DFF> @@ -11,7 +11,7 @@ setenv =
 commands =
     bash -c "rm .coverage* || true"
     #{envbindir}/nosetests --with-coverage --cover-branches {toxinidir}/tests/test_manhole.py -v --nocapture --nologcapture
-    coverage run --parallel-mode {toxinidir}/tests/test_manhole.py -v
+    coverage run --source=src --parallel-mode {toxinidir}/tests/test_manhole.py -v
     sleep 1
     ls
     coverage combine

{'commit': 'diff --git a/tox.ini b/tox.ini\nindex 0f261ab..e19c6e7 100644\n--- a/tox.ini\n+++ b/tox.ini\n@@ -11,7 +11,7 @@ setenv =\n commands =\n     bash -c "rm .coverage* || true"\n     #{envbindir}/nosetests --with-coverage --cover-branches {toxinidir}/tests/test_manhole.py -v --nocapture --nologcapture\n-    coverage run --parallel-mode {toxinidir}/tests/test_manhole.py -v\n+    coverage run --source=src --parallel-mode {toxinidir}/tests/test_manhole.py -v\n     sleep 1\n     ls\n     coverage combine\n', 'commit_subject': 'Only cover src.', 'repo_name': 'ionelmc/python-manhole', 'committer': {'name': 'Ionel Cristian Mărieș', 'email': '1a73af9e7ae00182733b2292511b814be66f065f@ionelmc.ro', 'time_sec': '1372844169', 'tz_offset': '180', 'date': {'seconds': '1372844169'}}, 'commit_tree': '20a8cf592cd7d0308db502264071981d03a78a5b', 'commit_message': 'Only cover src.\n', 'language_name': 'Python', 'license': 'bsd-2-clause', 'hunks': '@@ -11,7 +11,7 @@ setenv =\n commands =\n     bash -c "rm .coverage* || true"\n     #{envbindir}/nosetests --with-coverage --cover-branches {toxinidir}/tests/test_manhole.py -v --nocapture --nologcapture\n-    coverage run --parallel-mode {toxinidir}/tests/test_manhole.py -v\n+    coverage run --source=src --parallel-mode {toxinidir}/tests/test_manhole.py -v\n     sleep 1\n     ls\n     coverage combine\n', 'addition_count': 1, 'deletion_count': 1, 'src_file': 'a/tox.ini', 'tgt_file': 'b/tox.ini', 'file_extension': '.ini', 'before_file': '[testenv:bootstrap]\ndeps =\n    jinja2\n    tox\nskip_install = true\ncommands =\n    python ci/bootstrap.py --no-env\npassenv =\n    *\n; a generative tox configuration, see: https://tox.readthedocs.io/en/latest/config.html#generative-envlist\ncommands =\n    bash -c "rm .coverage* || true"\n    #{envbindir}/nosetests --with-coverage --cover-branches {toxinidir}/tests/test_manhole.py -v --nocapture --nologcapture\n    coverage run --parallel-mode {toxinidir}/tests/test_manhole.py -v\n    sleep 1\n    ls\n    coverage combine\n    report\nignore_basepython_conflict = true\n\n[testenv]\nbasepython =\n    pypy: {env:TOXPYTHON:pypy}\n    pypy37: {env:TOXPYTHON:pypy3.7}\n    pypy38: {env:TOXPYTHON:pypy3.8}\n    py27: {env:TOXPYTHON:python2.7}\n    py36: {env:TOXPYTHON:python3.6}\n    py37: {env:TOXPYTHON:python3.7}\n    py38: {env:TOXPYTHON:python3.8}\n    py39: {env:TOXPYTHON:python3.9}\n    {bootstrap,clean,check,report,docs,codecov,coveralls}: {env:TOXPYTHON:python3}\nsetenv =\n    PYTHONPATH={toxinidir}/tests\n    PYTHONUNBUFFERED=yes\npassenv =\n    *\nusedevelop =\n    cover: true\n    nocov: false\ndeps =\n    pytest\n    cover: pytest-cov\n    requests\n    process-tests\n    py27: subprocess32\n    eventlet: eventlet==0.30.2\n    gevent: gevent==21.1.2\n    {py27,py36,py37,py38,py39,py310}: uwsgi==2.0.20\ncommands =\n    nocov: {posargs:pytest -vv --ignore=src}\n    cover: {posargs:pytest --cov --cov-report=term-missing -vv}\n\n[testenv:check]\ndeps =\n    docutils\n    check-manifest\n    flake8\n    readme-renderer\n    pygments\n    isort\nskip_install = true\ncommands =\n    python setup.py check --strict --metadata --restructuredtext\n    check-manifest {toxinidir}\n    flake8\n    isort --verbose --check-only --diff --filter-files .\n\n[testenv:docs]\nusedevelop = true\ndeps =\n    -r{toxinidir}/docs/requirements.txt\ncommands =\n    sphinx-build {posargs:-E} -b html docs dist/docs\n    sphinx-build -b linkcheck docs dist/docs\n\n[testenv:coveralls]\ndeps =\n    coveralls\nskip_install = true\ncommands =\n    coveralls []\n\n[testenv:codecov]\ndeps =\n    codecov\nskip_install = true\ncommands =\n    codecov []\n\n[testenv:report]\ndeps =\n    coverage\nskip_install = true\ncommands =\n    coverage report\n    coverage html\n\n[testenv:clean]\ncommands = coverage erase\nskip_install = true\ndeps =\n    coverage\n', 'message': 'Only cover src.\n', 'author_name': 'Ionel Cristian Mărieș', 'lang': 'ini'}