From 35681833dcba270a875fa008b9c1af8fbe3ec370 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 19:23:34 +0000 Subject: [PATCH] style: pre-commit fixes --- src/hist/plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hist/plot.py b/src/hist/plot.py index f080ab36..c46c9bbf 100644 --- a/src/hist/plot.py +++ b/src/hist/plot.py @@ -122,7 +122,7 @@ def _expr_to_lambda(expr: str) -> Callable[..., Any]: varnames = list(OrderedDict.fromkeys([name for name in varnames if name != "x"])) lambdastr = f"lambda x,{','.join(varnames)}: {expr}" # pylint: disable-next=eval-used - return eval(lambdastr) # type: ignore[no-any-return] # noqa: PGH001 + return eval(lambdastr) # type: ignore[no-any-return] def _curve_fit_wrapper(