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"