fix(aurora): pylint fixes
This commit is contained in:
parent
98396c17e2
commit
bd3a08fe97
7 changed files with 22 additions and 25 deletions
|
@ -7,7 +7,8 @@ from discord import Guild
|
|||
from redbot.core import data_manager
|
||||
|
||||
from .logger import logger
|
||||
from .utils import convert_timedelta_to_str, generate_dict, get_next_case_number
|
||||
from .utils import (convert_timedelta_to_str, generate_dict,
|
||||
get_next_case_number)
|
||||
|
||||
|
||||
def connect() -> sqlite3.Connection:
|
||||
|
@ -119,7 +120,7 @@ async def mysql_log(
|
|||
expired: bool = None,
|
||||
changes: list = [],
|
||||
metadata: dict = {},
|
||||
) -> int:
|
||||
) -> int: # pylint: disable=dangerous-default-value
|
||||
if not timestamp:
|
||||
timestamp = int(time.time())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue