Some more fixes from the linter
This commit is contained in:
parent
7720bc525a
commit
57bbb2c3fc
3 changed files with 3 additions and 4 deletions
|
@ -82,4 +82,4 @@ def run_until_exit():
|
|||
result = main(sys.argv)
|
||||
sys.exit(0 if not result else result)
|
||||
|
||||
run_until_exit()
|
||||
run_until_exit()
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
# Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
import logging
|
||||
from .geometry import Direction
|
||||
from typing import Optional, TYPE_CHECKING
|
||||
from .geometry import Direction
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from .engine import Engine
|
||||
|
@ -14,7 +14,6 @@ LOG = logging.getLogger('events')
|
|||
class ActionResult:
|
||||
'''An object that represents the result of an Action.
|
||||
|
||||
|
||||
Attributes
|
||||
----------
|
||||
success : bool
|
||||
|
|
|
@ -253,4 +253,4 @@ class RectangularRoom(Room):
|
|||
yield Point(x, y)
|
||||
|
||||
def __repr__(self) -> str:
|
||||
return f'{self.__class__.__name__}({self.bounds})'
|
||||
return f'{self.__class__.__name__}({self.bounds})'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue