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 Apr 1, 2024
1 parent f6596d5 commit 8f3860c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Tests/test_imagemath_lambda_eval.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from __future__ import annotations

import pytest

from PIL import Image, ImageMath


Expand Down
6 changes: 4 additions & 2 deletions src/PIL/ImageMath.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,11 @@ def imagemath_convert(self: _Operand, mode: str) -> _Operand:
}


def lambda_eval(expression: Callable[[dict[str, Any]], Any],
def lambda_eval(
expression: Callable[[dict[str, Any]], Any],
_dict: dict[str, Any] = {},
**kw: Any,) -> Any:
**kw: Any,
) -> Any:
"""
Returns the result of an image function.
Expand Down

0 comments on commit 8f3860c

Please sign in to comment.