Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 25, 2024
1 parent fcaf9bb commit f7027ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion econml/dowhy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit f7027ed

Please sign in to comment.