From df76aa70e8a639c9c78b1767c2a5ec8bd7744c4a Mon Sep 17 00:00:00 2001 From: Tian Gao Date: Fri, 8 Nov 2024 18:54:30 -0500 Subject: [PATCH] Add nocover on overload --- src/objprint/decorator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/objprint/decorator.py b/src/objprint/decorator.py index e50b9fa..b757659 100644 --- a/src/objprint/decorator.py +++ b/src/objprint/decorator.py @@ -13,14 +13,14 @@ def add_objprint( orig_class: None = None, format: str = "string", **kwargs) -> Callable[[T], T]: - ... + ... # pragma: no cover @overload def add_objprint( orig_class: T, format: str = "string", **kwargs) -> T: - ... + ... # pragma: no cover def add_objprint(