Verified Commit f1cbd407 authored by David Runge's avatar David Runge 🐿
Browse files

Ignore untyped call to prometheus-client function

Ignore untyped call to `text_fd_to_metric_families()` in
parent eb6f1eb9
Pipeline #17311 passed with stages
in 50 seconds
......@@ -251,7 +251,7 @@ def read_metrics_file(
if path.exists():
with open(path, "r") as file:
for metric in text_fd_to_metric_families(file):
for metric in text_fd_to_metric_families(file): # type: ignore[no-untyped-call]
for sample in metric.samples:
if (
......@@ -298,6 +298,7 @@ def read_metrics_file(
return (amount_metrics, size_metrics, version_metrics)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment