From 503b32efbd1a807dc31581e9dce4fcd827bb2120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionel=20Cristian=20M=C4=83rie=C8=99?= Date: Tue, 4 Sep 2018 20:23:01 +0300 Subject: [PATCH] Simplify a bit the coverage configuration. --- {{cookiecutter.repo_name}}/.coveragerc | 4 ++-- {{cookiecutter.repo_name}}/ci/templates/tox.ini | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/{{cookiecutter.repo_name}}/.coveragerc b/{{cookiecutter.repo_name}}/.coveragerc index 336972d4..8656beab 100644 --- a/{{cookiecutter.repo_name}}/.coveragerc +++ b/{{cookiecutter.repo_name}}/.coveragerc @@ -3,8 +3,8 @@ source = src {%- else %} source = - src/{{ cookiecutter.package_name }} - */site-packages/{{ cookiecutter.package_name }} + src + */site-packages {%- endif %} [run] diff --git a/{{cookiecutter.repo_name}}/ci/templates/tox.ini b/{{cookiecutter.repo_name}}/ci/templates/tox.ini index 15855cad..ad11f694 100644 --- a/{{cookiecutter.repo_name}}/ci/templates/tox.ini +++ b/{{cookiecutter.repo_name}}/ci/templates/tox.ini @@ -129,7 +129,6 @@ deps = coverage skip_install = true usedevelop = false commands = - coverage combine --append coverage report coverage html