From ba44ff7cd5ab76b87a1dd46e6bb477069096fb6b Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 24 Jan 2024 19:02:26 +0100 Subject: [PATCH] format imports --- src/main.py | 5 +++-- src/modules/commandes.py | 2 +- src/utils/commands.py | 2 +- src/utils/core.py | 3 ++- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main.py b/src/main.py index bcdead2..5d6bbff 100644 --- a/src/main.py +++ b/src/main.py @@ -1,7 +1,8 @@ -from twitchio.ext import commands from os import listdir -from utils.core import load + +from twitchio.ext import commands from utils.commands import CommandesDB +from utils.core import load class Client(commands.Bot): diff --git a/src/modules/commandes.py b/src/modules/commandes.py index 7abb434..e854522 100644 --- a/src/modules/commandes.py +++ b/src/modules/commandes.py @@ -1,6 +1,6 @@ from twitchio.ext import commands -from utils.core import load, listCommands from utils.commands import CommandesDB, existeCommande, existeTouteCommande +from utils.core import listCommands, load def prepare(client: commands.Bot): diff --git a/src/utils/commands.py b/src/utils/commands.py index e402b08..7293646 100644 --- a/src/utils/commands.py +++ b/src/utils/commands.py @@ -1,5 +1,5 @@ -from utils.db import Database from utils.core import listCommands +from utils.db import Database class CommandesDB(Database): diff --git a/src/utils/core.py b/src/utils/core.py index 38d500e..5acd01b 100644 --- a/src/utils/core.py +++ b/src/utils/core.py @@ -1,7 +1,8 @@ from os import environ -from dotenv import load_dotenv from sys import exit +from dotenv import load_dotenv + def load(variables): """Load env variables"""