From 790dcdd238f99cf928c6b4f07902b273bfa71b61 Mon Sep 17 00:00:00 2001 From: brandon Date: Tue, 10 Dec 2024 11:25:05 -0800 Subject: [PATCH] linter suggestions --- src/groundlight/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/groundlight/client.py b/src/groundlight/client.py index 2363b6a5..61c5052c 100644 --- a/src/groundlight/client.py +++ b/src/groundlight/client.py @@ -1113,7 +1113,7 @@ def add_label( raise TypeError("rois must be a list of ROI objects. CLI support is not implemented") # NOTE: bool is a subclass of int - if type(label) == int: # noqa: E721 + if type(label) == int: # noqa: E721 pylint: disable=unidiomatic-typecheck label = str(label) elif not isinstance(label, (str, Label)): raise TypeError("label must be a string or integer")