From 0134e75cd23651b0cea99adcaa96d3a6777145dc Mon Sep 17 00:00:00 2001 From: ARYAN-NIKNEZHAD Date: Tue, 20 Aug 2024 16:37:47 +0430 Subject: [PATCH] :wrench: chore: Move coverage config Closes(#35) --- .coveragerc | 9 --------- pyproject.toml | 12 ++++++++++++ 2 files changed, 12 insertions(+), 9 deletions(-) delete mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index af00b58..0000000 --- a/.coveragerc +++ /dev/null @@ -1,9 +0,0 @@ -[run] -branch = True -source = sage_imap - -[report] -omit = - tests/* - .tox/* - docs/* diff --git a/pyproject.toml b/pyproject.toml index 700f32d..64abfa3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -85,6 +85,18 @@ version = "0.1.0" addopts = "--strict-markers" testpaths = ["tests"] +[tool.coverage.run] +branch = true +source = ["sage_imap"] + +[tool.coverage.report] +omit = [ + "tests/*", + ".tox/*", + "docs/*" +] + + [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api"