Skip to content

Commit 8f3860c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f6596d5 commit 8f3860c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Tests/test_imagemath_lambda_eval.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
from __future__ import annotations
22

3-
import pytest
4-
53
from PIL import Image, ImageMath
64

75

src/PIL/ImageMath.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,11 @@ def imagemath_convert(self: _Operand, mode: str) -> _Operand:
236236
}
237237

238238

239-
def lambda_eval(expression: Callable[[dict[str, Any]], Any],
239+
def lambda_eval(
240+
expression: Callable[[dict[str, Any]], Any],
240241
_dict: dict[str, Any] = {},
241-
**kw: Any,) -> Any:
242+
**kw: Any,
243+
) -> Any:
242244
"""
243245
Returns the result of an image function.
244246

0 commit comments

Comments
 (0)