aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/fun/snakes/_utils.py
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2023-08-30 21:03:17 -0700
committerGravatar Chris Lovering <[email protected]>2023-09-05 10:36:43 +0100
commitd57239bd1c7cafb2e620602c9178548048fd5830 (patch)
treea44f691bfe5393197e7a4720cb65e673f6e21a35 /bot/exts/fun/snakes/_utils.py
parentBump ruff from 0.0.285 to 0.0.286 (diff)
Made ruff happy
Diffstat (limited to 'bot/exts/fun/snakes/_utils.py')
-rw-r--r--bot/exts/fun/snakes/_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/fun/snakes/_utils.py b/bot/exts/fun/snakes/_utils.py
index ffffcd34..a967f47b 100644
--- a/bot/exts/fun/snakes/_utils.py
+++ b/bot/exts/fun/snakes/_utils.py
@@ -299,7 +299,7 @@ def create_snek_frame(
start_y = random.randint(image_margins[Y], image_dimensions[Y] - image_margins[Y])
points: list[tuple[float, float]] = [(start_x, start_y)]
- for index in range(0, snake_length):
+ for index in range(snake_length):
angle = perlin_factory.get_plain_noise(
((1 / (snake_length + 1)) * (index + 1)) + perlin_lookup_vertical_shift
) * ANGLE_RANGE