From a3835571a5ee7b4304ecb7f5f83a9d5838411f4e Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sun, 4 Feb 2024 12:08:30 -0700 Subject: [PATCH] fix coverage definition to be a list --- {{cookiecutter.repo_name}}/pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/{{cookiecutter.repo_name}}/pyproject.toml b/{{cookiecutter.repo_name}}/pyproject.toml index cafebe6..5abdc48 100644 --- a/{{cookiecutter.repo_name}}/pyproject.toml +++ b/{{cookiecutter.repo_name}}/pyproject.toml @@ -56,7 +56,9 @@ main = "{{ cookiecutter.repo_name }}:main" exclude = ["tests"] [tool.coverage.run] -source = "{{ cookiecutter.repo_name }}" +source = [ + "{{ cookiecutter.repo_name }}", +] [tool.pytest.ini_options] addopts = "--strict-markers"