From 806a0d138122872f1d248598b8481715853dc44c Mon Sep 17 00:00:00 2001 From: Peter Kroon Date: Mon, 29 Jan 2024 16:02:05 +0100 Subject: [PATCH] Move .coveragerc to pyproject.toml --- .coveragerc | 5 ----- pyproject.toml | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index e88fbffab..000000000 --- a/.coveragerc +++ /dev/null @@ -1,5 +0,0 @@ -[run] -branch = True -omit = - vermouth/tests/* - vermouth/redistributed/* diff --git a/pyproject.toml b/pyproject.toml index bb27dfc11..22331bbfa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,3 +9,8 @@ requires = [ addopts = "--import-mode=importlib" testpaths = ["vermouth/tests"] python_files = "test_*.py" + +[tool.coverage.run] +branch = true +omit = ["vermouth/tests/*", "vermouth/redistributed/*"] +