Fix import order
This commit is contained in:
@ -1,11 +1,15 @@
|
||||
from ..interfaces import Entity, FriendlyEntity, InventoryHolder, \
|
||||
Map, FightingEntity
|
||||
from ..translations import gettext as _
|
||||
from .player import Player
|
||||
from .monsters import Monster
|
||||
from .items import Item
|
||||
# Copyright (C) 2020-2021 by ÿnérant, eichhornchen, nicomarg, charlse
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
from random import choice, shuffle
|
||||
|
||||
from .items import Item
|
||||
from .monsters import Monster
|
||||
from .player import Player
|
||||
from ..interfaces import Entity, FightingEntity, FriendlyEntity, \
|
||||
InventoryHolder, Map
|
||||
from ..translations import gettext as _
|
||||
|
||||
|
||||
class Merchant(InventoryHolder, FriendlyEntity):
|
||||
"""
|
||||
|
@ -2,9 +2,9 @@
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
from random import choice, randint
|
||||
from typing import Optional, Any
|
||||
from typing import Any, Optional
|
||||
|
||||
from ..interfaces import Entity, FightingEntity, Map, InventoryHolder
|
||||
from ..interfaces import Entity, FightingEntity, InventoryHolder, Map
|
||||
from ..translations import gettext as _
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user