From 9ab674c7204da700e002505ad8d5398d1fd87769 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 9 Nov 2024 19:57:56 +1100 Subject: [PATCH] Lint fixes --- Tests/test_file_jxl_animated.py | 3 ++- src/PIL/_jpegxl.pyi | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Tests/test_file_jxl_animated.py b/Tests/test_file_jxl_animated.py index 758fa79e2d8..02aca5eb0e2 100644 --- a/Tests/test_file_jxl_animated.py +++ b/Tests/test_file_jxl_animated.py @@ -59,7 +59,8 @@ def test_seeking() -> None: assert im1.info["timestamp"] == im1.info["timestamp"] assert total_dur == 8000 - assert im1.tell() == 0 and im2.tell() == 0 + assert im1.tell() == 0 + assert im2.tell() == 0 im1.seek(0) im1.load() diff --git a/src/PIL/_jpegxl.pyi b/src/PIL/_jpegxl.pyi index b0235555dc5..e27843e5338 100644 --- a/src/PIL/_jpegxl.pyi +++ b/src/PIL/_jpegxl.pyi @@ -1,5 +1,3 @@ -from __future__ import annotations - from typing import Any def __getattr__(name: str) -> Any: ...