forked from c0de/BaseballBot
Create lint log
This commit is contained in:
parent
b32d76bf16
commit
57a808f19d
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
.idea/*
|
.idea/*
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.db
|
*.db
|
||||||
|
*.log
|
||||||
|
@ -8,6 +8,7 @@ import dateparser
|
|||||||
|
|
||||||
from database.models import database, GameModel, GuessModel
|
from database.models import database, GameModel, GuessModel
|
||||||
|
|
||||||
|
|
||||||
async def check_is_running(method, start_new_game=True):
|
async def check_is_running(method, start_new_game=True):
|
||||||
"""
|
"""
|
||||||
Decorator that determines if the game is running or not
|
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
|
return await wrapper
|
||||||
|
|
||||||
|
|
||||||
class Game:
|
class Game:
|
||||||
"""
|
"""
|
||||||
The game state class
|
The game state class
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/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
|
black main.py game.py discord_client database
|
||||||
|
Loading…
Reference in New Issue
Block a user