diff --git a/.gitignore b/.gitignore index d0e17d8..642b41c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .idea/* __pycache__/ *.db +*.log diff --git a/GhostBallBot/game.py b/GhostBallBot/game.py index 1685589..39c0443 100644 --- a/GhostBallBot/game.py +++ b/GhostBallBot/game.py @@ -8,6 +8,7 @@ import dateparser from database.models import database, GameModel, GuessModel + async def check_is_running(method, start_new_game=True): """ Decorator that determines if the game is running or not @@ -26,6 +27,7 @@ async def check_is_running(method, start_new_game=True): return await wrapper + class Game: """ The game state class diff --git a/GhostBallBot/lint.sh b/GhostBallBot/lint.sh index 522b620..9c70aa4 100755 --- a/GhostBallBot/lint.sh +++ b/GhostBallBot/lint.sh @@ -1,4 +1,4 @@ #!/bin/bash -pylint main.py game.py discord_client database +pylint main.py game.py discord_client database > lint.log black main.py game.py discord_client database