Skip to content

Commit

Permalink
Add nocover on overload
Browse files Browse the repository at this point in the history
  • Loading branch information
gaogaotiantian committed Nov 8, 2024
1 parent c59d22c commit df76aa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/objprint/decorator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit df76aa7

Please sign in to comment.