Create lint log

This commit is contained in:
c0de 2022-10-24 20:05:21 -05:00
parent b32d76bf16
commit 57a808f19d
3 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.idea/*
__pycache__/
*.db
*.log

View File

@ -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

View File

@ -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