From 37ba684c675db70dbf93cb890c47ce5f37351688 Mon Sep 17 00:00:00 2001 From: Matthew Epland Date: Sat, 11 Nov 2023 16:10:24 -0500 Subject: [PATCH] lint --- utils/TSModelWrappers.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/TSModelWrappers.py b/utils/TSModelWrappers.py index d9dea8ef..95a9a729 100644 --- a/utils/TSModelWrappers.py +++ b/utils/TSModelWrappers.py @@ -996,7 +996,9 @@ def __init__(self: "NBEATSModelWrapper", **kwargs: Any) -> None: # noqa: ANN401 # but they do not work if the kwargs["TSModelWrapper"] parent instance was updated between child __init__ calls if ( "TSModelWrapper" in kwargs - and type(kwargs["TSModelWrapper"].__class__) # pylint: disable=unidiomatic-typecheck + and type( # noqa: E721 # pylint: disable=unidiomatic-typecheck + kwargs["TSModelWrapper"].__class__ + ) == type(TSModelWrapper) # and str(kwargs["TSModelWrapper"].__class__) == str(TSModelWrapper) #