Organise imports

This commit is contained in:
Ben 2020-06-05 22:45:23 +01:00
parent b125a9cd80
commit 96da1c3c12
9 changed files with 15 additions and 12 deletions

View File

@ -2,7 +2,7 @@ import inspect
from houdini import _AbstractManager, handlers, plugins
from houdini.constants import ConflictResolution
from houdini.converters import _ArgumentDeserializer, _listener, ChecklistError
from houdini.converters import ChecklistError, _ArgumentDeserializer, _listener
from houdini.cooldown import CooldownError

View File

@ -7,10 +7,10 @@ from abc import ABC, abstractmethod
from houdini.cooldown import CooldownError
from houdini.data.igloo import Flooring, Furniture, Igloo, Location
from houdini.data.item import Item
from houdini.data.permission import Permission
from houdini.data.pet import PenguinPuffle, Puffle
from houdini.data.room import Room
from houdini.data.stamp import Stamp
from houdini.data.permission import Permission
class ChecklistError(Exception):

View File

@ -1,6 +1,7 @@
from houdini.data import AbstractDataCollection, db
from functools import cached_property
from houdini.data import AbstractDataCollection, db
class Flooring(db.Model):
__tablename__ = 'flooring'

View File

@ -1,6 +1,7 @@
from houdini.data import db, AbstractDataCollection
from functools import cached_property
from houdini.data import AbstractDataCollection, db
class Item(db.Model):
__tablename__ = 'item'

View File

@ -1,4 +1,4 @@
from houdini.data import db, AbstractDataCollection
from houdini.data import AbstractDataCollection, db
class PluginAttribute(db.Model):

View File

@ -5,9 +5,9 @@ from dataclasses import dataclass
from houdini import handlers
from houdini.data.room import RoomWaddle
from houdini.handlers import XTPacket
from houdini.handlers.games.ninja.card import SenseiLogic, CardJitsuLogic, CardJitsuMatLogic
from houdini.handlers.games.ninja.fire import FireSenseiLogic, CardJitsuFireLogic
from houdini.handlers.games.ninja.water import WaterSenseiLogic, CardJitsuWaterLogic
from houdini.handlers.games.ninja.card import CardJitsuLogic, CardJitsuMatLogic, SenseiLogic
from houdini.handlers.games.ninja.fire import CardJitsuFireLogic, FireSenseiLogic
from houdini.handlers.games.ninja.water import CardJitsuWaterLogic, WaterSenseiLogic
from houdini.penguin import Penguin

View File

@ -1,6 +1,7 @@
import time
import pytz
import datetime
import time
import pytz
from houdini import handlers
from houdini.data import db

View File

@ -1,5 +1,5 @@
from houdini import handlers
from houdini.commands import has_command_prefix, invoke_command_string, UnknownCommandException
from houdini.commands import UnknownCommandException, has_command_prefix, invoke_command_string
from houdini.data.moderator import ChatFilterRuleCollection
from houdini.handlers import XTPacket
from houdini.handlers.play.moderation import moderator_ban

View File

@ -1,6 +1,6 @@
from houdini import handlers
from houdini.handlers import XTPacket
from houdini.data.penguin import CfcDonation
from houdini.handlers import XTPacket
@handlers.handler(XTPacket('e', 'dc'))