From 3a3a31141ac47698722d3dd73a926391bbfedf38 Mon Sep 17 00:00:00 2001 From: Gui-FernandesBR Date: Thu, 7 Mar 2024 16:12:23 -0500 Subject: [PATCH 1/4] DEV: Add .coveragerc file to exclude exceptions and warnings from test coverage --- .coveragerc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 000000000..6f0db75d0 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,5 @@ +[report] +exclude_also= + ; Don't complain about exceptions or warnings not being covered by tests + raise * + warnings.warn* \ No newline at end of file From 191650f6ea3036ad13ec1581690450809e55b293 Mon Sep 17 00:00:00 2001 From: Gui-FernandesBR Date: Thu, 7 Mar 2024 16:12:23 -0500 Subject: [PATCH 2/4] DEV: Add .coveragerc file to exclude exceptions and warnings from test coverage --- .coveragerc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 000000000..6f0db75d0 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,5 @@ +[report] +exclude_also= + ; Don't complain about exceptions or warnings not being covered by tests + raise * + warnings.warn* \ No newline at end of file From c5fc05508fda4ac360a546b08eb516b204424fa7 Mon Sep 17 00:00:00 2001 From: Gui-FernandesBR Date: Thu, 7 Mar 2024 16:12:23 -0500 Subject: [PATCH 3/4] DEV: Add .coveragerc file to exclude exceptions and warnings from test coverage --- .coveragerc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 000000000..6f0db75d0 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,5 @@ +[report] +exclude_also= + ; Don't complain about exceptions or warnings not being covered by tests + raise * + warnings.warn* \ No newline at end of file From 86f657086380a64edaf04ed76e0c9c24000e9f9e Mon Sep 17 00:00:00 2001 From: Gui-FernandesBR Date: Thu, 21 Mar 2024 15:10:31 -0400 Subject: [PATCH 4/4] DEV: re-include raise exceptions into coverage report --- .coveragerc | 1 - 1 file changed, 1 deletion(-) diff --git a/.coveragerc b/.coveragerc index 6f0db75d0..e4405ddbc 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,5 +1,4 @@ [report] exclude_also= ; Don't complain about exceptions or warnings not being covered by tests - raise * warnings.warn* \ No newline at end of file