From b4fcdeb56cf0b14afdf5b3518f482f0e847c6d5b Mon Sep 17 00:00:00 2001 From: Saurav Maheshkar Date: Mon, 23 Jan 2023 04:18:20 +0530 Subject: [PATCH] chore: move coverage config to pyproject (#694) This PR aims to move the contents of `.coveragerc` to `pyproject.toml` to make the overall file structure more minimal. --- .coveragerc | 2 -- pyproject.toml | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) delete mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index c712d259..00000000 --- a/.coveragerc +++ /dev/null @@ -1,2 +0,0 @@ -[run] -omit = tests/* diff --git a/pyproject.toml b/pyproject.toml index a81057e4..30851af4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -85,6 +85,11 @@ ignore_missing_imports = "True" disallow_untyped_defs = "True" exclude = ["notebooks"] +[tool.coverage.run] +omit = [ + "tests/*", +] + [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"