From 0c6e773afe308d4f14898d9f98e040e3088ef367 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mikrut?= Date: Thu, 13 Jul 2023 21:53:53 +0200 Subject: [PATCH] Pylint --- fpdf/fpdf.py | 2 +- fpdf/image_parsing.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fpdf/fpdf.py b/fpdf/fpdf.py index f29cab5f0..8f341bfc9 100644 --- a/fpdf/fpdf.py +++ b/fpdf/fpdf.py @@ -19,7 +19,7 @@ from numbers import Number from os.path import splitext from pathlib import Path -from typing import Callable, NamedTuple, Optional, Union, List, Tuple, Any +from typing import Callable, NamedTuple, Optional, Union, List, Tuple from .drawing import DeviceGray, DeviceRGB diff --git a/fpdf/image_parsing.py b/fpdf/image_parsing.py index c4ac391ea..77bdf674d 100644 --- a/fpdf/image_parsing.py +++ b/fpdf/image_parsing.py @@ -14,7 +14,7 @@ RESAMPLE = Resampling.LANCZOS except ImportError: # For Pillow < 9.1.0 - RESAMPLE = Image.ANTIALIAS + RESAMPLE = Image.ANTIALIAS # pylint: disable=no-member except ImportError: Image = None # type: ignore[assignment]