Linting
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
from random import choice, randint
|
||||
from typing import Optional, Any
|
||||
from typing import Optional
|
||||
|
||||
from .player import Player
|
||||
from ..interfaces import Entity, FightingEntity, Map, InventoryHolder
|
||||
@ -19,7 +19,7 @@ class Item(Entity):
|
||||
|
||||
def __init__(self, held: bool = False,
|
||||
held_by: Optional[InventoryHolder] = None,
|
||||
price: int = 2, *args, **kwargs):
|
||||
price: int = 2, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
self.held = held
|
||||
self.held_by = held_by
|
||||
|
Reference in New Issue
Block a user