From a6a8f8ed9b4f6daa454703286250b1d2b72e85a6 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Thu, 9 Nov 2023 10:09:20 +0000 Subject: Lint repo with new ruff rules --- bot/utils/halloween/spookifications.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bot/utils/halloween/spookifications.py') diff --git a/bot/utils/halloween/spookifications.py b/bot/utils/halloween/spookifications.py index b0c139e6..2f8c1448 100644 --- a/bot/utils/halloween/spookifications.py +++ b/bot/utils/halloween/spookifications.py @@ -29,13 +29,13 @@ def pentagram(im: Image.Image) -> Image.Image: def bat(im: Image.Image) -> Image.Image: """ - Adds a bat silhoutte to the image. + Adds a bat silhouette to the image. - The bat silhoutte is of a size at least one-fifths that of the original image and may be rotated + The bat silhouette is of a size at least one-fifths that of the original image and may be rotated up to 90 degrees anti-clockwise. """ im = im.convert("RGB") - wt, ht = im.size + wt, _ = im.size bat = Image.open("bot/resources/holidays/halloween/bat-clipart.png") bat_size = randint(wt//10, wt//7) rot = randint(0, 90) -- cgit v1.2.3