From 0b0faefe82ec7f007bb3d49c002205db806826c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= <16805946+edgarrmondragon@users.noreply.github.com> Date: Thu, 30 Nov 2023 18:53:52 -0600 Subject: [PATCH] chore: Use `exclude_also` in coverage config (#2079) --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index dc29e4a75..f59eecec2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -199,8 +199,7 @@ omit = [ ] [tool.coverage.report] -exclude_lines = [ - "pragma: no cover", +exclude_also = [ "def __repr__", "raise AssertionError", "raise NotImplementedError",