From bac4ae4c42539eb37aed2a8519a46fba367069a3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 27 Sep 2022 14:00:26 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/PIL/CurImagePlugin.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/PIL/CurImagePlugin.py b/src/PIL/CurImagePlugin.py index 2419b8cbf..58185f431 100644 --- a/src/PIL/CurImagePlugin.py +++ b/src/PIL/CurImagePlugin.py @@ -146,10 +146,10 @@ class CurFile(IcoImagePlugin.IcoFile): icon_header["dim"] = (icon_header["width"], icon_header["height"]) icon_header["square"] = icon_header["width"] * icon_header["height"] - # TODO: This needs further investigation. Cursor files do not really - # specify their bpp like ICO's as those bits are used for the y_hotspot. - # For now, bpp is calculated by subtracting the AND mask (equal to number - # of pixels * 1bpp) and dividing by the number of pixels. This seems + # TODO: This needs further investigation. Cursor files do not really + # specify their bpp like ICO's as those bits are used for the y_hotspot. + # For now, bpp is calculated by subtracting the AND mask (equal to number + # of pixels * 1bpp) and dividing by the number of pixels. This seems # to work well so far. BITMAP_INFO_HEADER_SIZE = 40 bpp_without_and = (