From 244ddf6140a7c01c5f2d09899a7742e6973fc35a Mon Sep 17 00:00:00 2001 From: Patrick Moessler Date: Mon, 20 Feb 2023 02:00:35 +0100 Subject: [PATCH] flake fixes --- effects/movingwave.py | 1 - effects/rotatingpoly.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/effects/movingwave.py b/effects/movingwave.py index 1a8235c..626054d 100644 --- a/effects/movingwave.py +++ b/effects/movingwave.py @@ -2,7 +2,6 @@ from typing import Any, Tuple import pygame as pg from effects.effect import Effect, Colors, rainbow_surface, transform_oscillate import math -from typing import Union, Generator class MovingWave(Effect): diff --git a/effects/rotatingpoly.py b/effects/rotatingpoly.py index 28657ab..d8c818a 100644 --- a/effects/rotatingpoly.py +++ b/effects/rotatingpoly.py @@ -1,7 +1,6 @@ from typing import Any, Tuple import pygame as pg from effects.effect import Effect, Colors, transform_bounce -import random import math from typing import Union, Generator @@ -81,7 +80,7 @@ class RotatingPoly(Effect): node_positions.append((pos_x, pos_y)) pg.draw.polygon( - self.image, self.o_color, node_positions, width=int(self.spot_radius*1.5) + self.image, self.o_color, node_positions, width=int(self.spot_radius * 1.5) ) for pos_x, pos_y in node_positions: