Skip to content

Commit b4214d5

Browse files
committed
Ignore mypy
python/mypy#1927 Signed-off-by: Yury Pliner <[email protected]> Signed-off-by: Iurii Pliner <[email protected]>
1 parent f63020d commit b4214d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

prometheus_client/context_managers.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def __call__(self, f: "F") -> "F":
2929
def wrapped(*args: Any, **kwargs: Any) -> Any:
3030
with self:
3131
return f(*args, **kwargs)
32-
return wrapped
32+
return wrapped # type: ignore
3333

3434

3535
class InprogressTracker:
@@ -47,7 +47,7 @@ def __call__(self, f: "F") -> "F":
4747
def wrapped(*args: Any, **kwargs: Any) -> Any:
4848
with self:
4949
return f(*args, **kwargs)
50-
return wrapped
50+
return wrapped # type: ignore
5151

5252

5353
class Timer:
@@ -78,4 +78,4 @@ def wrapped(*args: Any, **kwargs: Any) -> Any:
7878
# ensures thread safety and reentrancy.
7979
with self._new_timer():
8080
return f(*args, **kwargs)
81-
return wrapped
81+
return wrapped # type: ignore

0 commit comments

Comments
 (0)