From 8ab8bfba83268c969220551e8d6cd46661e8d6c0 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Wed, 4 May 2022 06:37:57 +0200 Subject: [PATCH] =?UTF-8?q?Move=20coverage.py=E2=80=99s=20configuration=20?= =?UTF-8?q?into=20pyproject.toml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .coveragerc | 7 ------- pyproject.toml | 8 ++++++++ 2 files changed, 8 insertions(+), 7 deletions(-) delete mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index dcbb42f..0000000 --- a/.coveragerc +++ /dev/null @@ -1,7 +0,0 @@ -[run] -branch = True - -[report] -fail_under = 100 -show_missing = true -skip_covered = true diff --git a/pyproject.toml b/pyproject.toml index 120c6c1..d51e4b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,14 @@ markers = [ "id_name: the name to use in the identity" ] +[tool.coverage.run] +branch = true + +[tool.coverage.report] +fail_under = 100 +show_missing = true +skip_covered = true + [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api"