Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Feb 12, 2024
1 parent d44ae1f commit b45da10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hist/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit b45da10

Please sign in to comment.