From 9d55680079a2791a3fab8b95d47236f466de16e8 Mon Sep 17 00:00:00 2001 From: Tom Casavant Date: Sun, 5 May 2024 11:22:43 -0400 Subject: [PATCH] Fix import ordering --- bot.py | 8 +++++--- gb.py | 11 ++++++----- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/bot.py b/bot.py index 285dcde..d2b9dbe 100644 --- a/bot.py +++ b/bot.py @@ -1,9 +1,11 @@ -from gb import Gameboy +import os import random import time -from mastodon import Mastodon + import toml -import os +from mastodon import Mastodon + +from gb import Gameboy class Bot: diff --git a/gb.py b/gb.py index d441f9d..451ed3d 100644 --- a/gb.py +++ b/gb.py @@ -1,12 +1,13 @@ -from pyboy import PyBoy, WindowEvent -import random -import threading import os +import random import re import shutil -from PIL import Image, ImageDraw -from moviepy.editor import ImageSequenceClip +import threading + import numpy as np +from moviepy.editor import ImageSequenceClip +from PIL import Image, ImageDraw +from pyboy import PyBoy, WindowEvent class Gameboy: