From 57bbb2c3fc26dd6a6c1dd47900e897e5332ba406 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sat, 7 May 2022 09:57:39 -0700 Subject: [PATCH] Some more fixes from the linter --- roguebasin/__main__.py | 2 +- roguebasin/actions.py | 3 +-- roguebasin/map.py | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/roguebasin/__main__.py b/roguebasin/__main__.py index 42aa9c0..e745f9b 100644 --- a/roguebasin/__main__.py +++ b/roguebasin/__main__.py @@ -82,4 +82,4 @@ def run_until_exit(): result = main(sys.argv) sys.exit(0 if not result else result) -run_until_exit() \ No newline at end of file +run_until_exit() diff --git a/roguebasin/actions.py b/roguebasin/actions.py index ff59daa..6b20174 100644 --- a/roguebasin/actions.py +++ b/roguebasin/actions.py @@ -2,8 +2,8 @@ # Eryn Wells 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 diff --git a/roguebasin/map.py b/roguebasin/map.py index 260b683..644761c 100644 --- a/roguebasin/map.py +++ b/roguebasin/map.py @@ -253,4 +253,4 @@ class RectangularRoom(Room): yield Point(x, y) def __repr__(self) -> str: - return f'{self.__class__.__name__}({self.bounds})' \ No newline at end of file + return f'{self.__class__.__name__}({self.bounds})'