flake fixes

This commit is contained in:
Patrick Moessler 2023-02-20 02:00:35 +01:00
parent 00f42b9d4c
commit 244ddf6140
2 changed files with 1 additions and 3 deletions

View file

@ -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):

View file

@ -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: