Skip to content

Commit

Permalink
Pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
qarmin committed Jul 13, 2023
1 parent fca6b08 commit 0c6e773
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fpdf/fpdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion fpdf/image_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit 0c6e773

Please sign in to comment.