From f7027ed9a38fc109ebfb307a940a8bf4121e75dd Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 02:17:43 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- econml/dowhy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/econml/dowhy.py b/econml/dowhy.py index 5dd659e91..3488e0fb8 100644 --- a/econml/dowhy.py +++ b/econml/dowhy.py @@ -240,7 +240,7 @@ def __getattr__(self, attr): if attr in dir(self): return getattr(self, attr) else: - raise AttributeError(f"call `DoWhyWrapper.fit` first before any other operations.") + raise AttributeError("call `DoWhyWrapper.fit` first before any other operations.") elif attr.startswith('dowhy__'): return getattr(self.dowhy_, attr[len('dowhy__'):]) elif hasattr(self.estimate_._estimator_object, attr):